UGC-NET | UGC NET CS 2016 July – II | Question 12

The following statement in ‘C’
int (*f())[ ];
declares
(A) a function returning a pointer to an array of integers.
(B) a function returning an array of pointers to integers.
(C) array of functions returning pointers to integers.
(D) an illegal statement.


Answer: (A)

Explanation: int (*f())[ ]; declares a function returning a pointer to an array of integers.

Quiz of this Question

My Personal Notes arrow_drop_up
Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.