Q240
Which of the following is a correct syntax to pass a Function Pointer as an argument?
A.
void pass(int (*fptr)(int, float, char)){}
AnswerB.
void pass(*fptr(int, float, char)){}
C.
void pass(int (*fptr)){}
D.
void pass(*fptr){}
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board