InterviewSolution
Saved Bookmarks
| 1. |
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){}I had been asked this question in my homework.I want to ask this question from Pointers to Functions in division Pointers and Arrays in C of C |
|
Answer» RIGHT answer is (a) void pass(int (*FPTR)(int, FLOAT, CHAR)){} The best explanation: None. |
|