Vidyalelo
C++ Programming · Q89

Pointers and References in C++

Programming · C++ Programming · question 89

Q89

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

A.
pointer to a pointer
B.
pointer to an array of chars
C.
pointer to function taking a char* argument and returns an int
Answer
D.
function taking a char* argument and returning a pointer to int

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board