Discussion Forum : Complicated Declarations
Question -

Is the following declaration correct?
void(*f)(int, void(*)());

Options:
A .  Yes
B .  No
Answer: Option A

f is a pointer to a function which returns nothing and receives as its parameter an integer

 and a pointer to a function which receives nothing and returns nothing.



Was this answer helpful ?
Next Question
Submit Your Solution hear:

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