Sail E0 Webinar
Question

What is meaning of following declaration?
 int(*ptr[5])();


Options:
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

In this expression, ptr is array not pointer.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers