Examveda

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

A. void pass(int (*fptr)(int, float, char)){}

B. void pass(*fptr(int, float, char)){}

C. void pass(int (*fptr)){}

D. void pass(*fptr){}

Answer: Option A


This Question Belongs to C Program >> Pointer

Join The Discussion

Related Questions on Pointer