Consider the following two function declarations : (i) int *f( ) (ii) int…
PYQ UGC NET 2013
Consider the following two function declarations : (i) int *f( ) (ii) int (*f)( ) Which of the following is true ?
- A.
Both are identical.
- B.
The first is a correct declaration and the second is wrong.
- C.
Both are different ways of declaring pointer to a function.
- D.
The first declaration is a function returning a pointer to an integer and the second is a pointer to function returning integer.
Attempted by 23 students.
Sign up free to check your answer
Sign up freeLoading lesson…

