Discussion Forum : Functions
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 Your Solution hear:

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