...
GATE 1998
November 11, 2023
Database-Management-System
November 11, 2023
GATE 1998
November 11, 2023
Database-Management-System
November 11, 2023

Pointers

Question 6
Which of the following declares ‘pf’ as a pointer to a function, which returns an integer quantity and requires two integer arguments ?
A
int *pf(int, int);
B
int (*pf)(int, int);
C
(int *) pf(int, int);
D
int ( int *pf(int, int));
Question 6 Explanation: 
int (*pf)(int, int) , Here ‘pf’ declares as a pointer to a function, which returns an integer quantity and requires two integer arguments
Correct Answer: B
Question 6 Explanation: 
int (*pf)(int, int) , Here ‘pf’ declares as a pointer to a function, which returns an integer quantity and requires two integer arguments

Leave a Reply

Your email address will not be published. Required fields are marked *