Complicated Declarations on C related Questions and Answers


Question :   What do the following declaration signify?
void (*cmp)();

1. cmp is a pointer to an void function type
2. cmp is a void type pointer function.
3. cmp is a void type pointer function.
4. cmp is a pointer to a function which returns void .
Answer :   4 - cmp is a pointer to a function which returns void .  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter