...
Compiler-Design
September 11, 2024
Hilbert-Curve
September 12, 2024
Compiler-Design
September 11, 2024
Hilbert-Curve
September 12, 2024

GATE 2005

Question 1

What does the following C-statement declare?

    int ( * f) (int * ) ; 
A
A function that takes an integer pointer as argument and returns an integer.
B
A function that takes an integer as argument and returns an integer pointer.
C
A pointer to a function that takes an integer pointer as argument and returns an integer.
D
A function that takes an integer pointer as argument and returns a function pointer.
Question 1 Explanation: 
int ( * f) (int * )
→ A pointer to a function which takes integer as a pointer and return an integer value.
Correct Answer: C
Question 1 Explanation: 
int ( * f) (int * )
→ A pointer to a function which takes integer as a pointer and return an integer value.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x