Open In App

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
Please comment below if you find anything wrong in the above post

Article Tags :