Complicated Declarations on C related Questions and Answers


Question :   Declare the following statement?
''A pointer to an array of three chars''

1. char *ptr[3]();
2. char (*ptr)*[3];
3. char (*ptr[3])();
4. char (*ptr)[3];
Answer :   4 - char (*ptr)[3];  

* 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