Question 17Asked in UGC NET Computer Science, June 2016 (Paper II & III, Selected Questions)The following statement in 'C' int (*f( ))[ ];
The following statement in 'C'
int (*f( ))[ ];
declares
- Aa function returning a pointer to an array of integers.
- Ba function returning an array of pointers to integers.
- Carray of functions returning pointers to integers.
- Dan illegal statement.
Show answerHide answer
Correct answer: (A) a function returning a pointer to an array of integers.
Explanation
In 'C', int (*f( ))[ ]; declares f as a function returning a pointer to an array of integers.