Vidyalelo
C++ Programming · Q37

Pointers and References in C++

Programming · C++ Programming · question 37

Q37

The correct statement for a function that takes pointer to a float, a pointer to a pointer to a char and returns a pointer to a pointer to a integer is . . . . . . . .

A.
int **fun(float**, char**)
B.
int *fun(float*, char*)
C.
int **fun(float*, char**)
Answer
D.
int ***fun(*float, **char)

Answer: Option C

Solution

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