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
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