Page 1 of 1

Which of the following is a correct syntax to pass a Function Pointer as an argument?

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
a) void pass(int (*fptr)(int, float, char)){}
b) void pass(*fptr(int, float, char)){}
c) void pass(int (*fptr)){}
d) void pass(*fptr){}