Saturday, 13 December 2014

Programming Quiz-28

Declare the following statement:

"A pointer to a function which receives nothing and returns nothing"

Options:

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

Answer: D

No comments:

Post a Comment