Q231
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;
AnswerB.
int *fn_ptr(int, int) = multi;
C.
int *fn_ptr(int, int) = &multi;
D.
none of the mentioned
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board