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

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

  1. a) void pass(int (*fptr)(int, float, char)){}
  2. b) void pass(*fptr(int, float, char)){}
  3. c) void pass(int (*fptr)){}
  4. d) void pass(*fptr){}

From the BUET MSC (ICT) July 2021 – MCQ exam, question 23 of 57.

More from this paper