Discussion :: C++ - MCQs
-
What is meaning of following declaration?
int(*p[5])();
A.
p is pointer to function.
|
B.
p is array of pointer to function
|
C.
p is pointer to such function which return type is array.
|
D.
p is pointer to array of function. View Answer
|
Answer : Option B
Explanation :
In the above declaration the variable p is array not pointer.
Be The First To Comment