Which option gives the correct interpretation of the following declaration in…
2018
Which option gives the correct interpretation of the following declaration in C++?
int(*p[5])();
Answer: B. p is an array of pointers to function
- A.
p is a pointer to function
- B.
p is an array of pointers to function
- C.
p is a pointer to such function which return type is array
- D.
p is a pointer to an array of functions
Attempted by 299 students.
Show answer & explanation
Correct answer: B
Loading lesson…