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