Saturday, 13 December 2014

Programming Quiz-26

Declare the following statement
"A pointer to a function which receives an int pointer and returns float pointer"

Options:

A: float *(ptr)*int;
B: float *(*ptr)(int)
C: float * (*ptr)(int *)
D: float (*ptr)(int)

Answer: C

No comments:

Post a Comment