Saturday, 13 December 2014

Programming Quiz-22

Q: What does the following statement mean?
    int (*fp)(char*)

Options:

a) pointer to a pointer
b) pointer to an array of chars
c) pointer to function taking a char* argument and returns an int
d) function taking a char* argument and returning a pointer to int

Answer: C

No comments:

Post a Comment