Complicated Declarations on C related Questions and Answers


Question :   Declare the following statement?
''A pointer to a function which receives nothing and returns nothing''.

1. void *(ptr)*int;
2. void *(*ptr)()
3. void *(*ptr)(*)
4. void (*ptr)()
Answer :   4 - void (*ptr)()  

* 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