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 type.
2. cmp is a void type pointer variable.
3. cmp is a function that return a void pointer.
4. cmp function returns nothing.
Answer :   3 - cmp is a function that return a void pointer.  

* 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