Quiz on Thread API

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

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*

Question 1 of 50 attempted

Get hands-on with 1400+ tech skills courses.