1.

What is the correct way to declare and assign a function pointer?
(Assuming the function to be assigned is "int multi(int, int);")

A. int *fn_ptr(int, int) = multi;
B. int *fn_ptr(int, int) = &multi;
C. int (*fn_ptr)(int, int) = multi;
D. All of above
E. None of these
Answer» D. All of above


Discussion

No Comment Found