Quiz on Thread API

It's quiz time! Answer the following questions to test your knowledge and understanding.

We'll cover the following...
Technical Quiz
1.
int
pthread_create(pthread_t      *thread,
         const pthread_attr_t *attr,
               void           *(*start_routine)(int*),
               void           *arg);

The function pointer start_routine has what return type?

A.

int

B.

int*

C.

void

D.

void*


1 / 5