Complicated Declarations on C related Questions and Answers


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

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

* 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