Home » C Programming » Pointers » Question
  1. Which of the following is a correct syntax to pass a Function Pointer as an argument?
    1. void pass(*fptr){}
    2. void pass(int (*fptr)){}
    3. void pass(*fptr(int, float, char)){}
    4. void pass(int (*fptr)(int, float, char)){}
    5. None of these
Correct Option: D

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



Your comments will be displayed only after manual approval.