https://gateoverflow.in/1343/gate2005-1-isro2017-55
HERE IN THIS QUESTION FOR 4TH OPTION WHAT IS CORRECT DECLARATION ...I AM NOT GETTING FURTHER FROM
f(int *) i m not getting its return part .........................
and how to read (*) f(int*)
I READ THE COMMENTS OF saurabh rai BUT THEY WERE RETURNING INTEGER POINTER FOR D PART QUESTION ASK FUNCTION POINTER ...........ARE THEY SAME??
int function(int* x) { // ... return SOME_VALUE; }
then we can use:: int (*f) (int *) = &function;
Just check this :: https://stackoverflow.com/questions/32156290/what-does-int-fint-represent
read the VS comment, below saurabh rai comment
1. declaration for D ("A function that takes an integer pointer as argument and returns a function pointer") int ( * f(int *) ) ()
here f returns a pointer pointing to a function which returns int data and takes no input as arguments
SO IN THIS out most int is due to becz implict return type is n???
64.3k questions
77.9k answers
244k comments
80.0k users