C Quiz – 109 | Question 3
Find out the correct statement for the following program.
(A) Line with comment (1) will give compile error.
(B) Line with comment (2) will give compile error.
(C) Lines with (1) & (3) will give compile error.
(D) Lines with (2) & (4) will give compile error.
(E) No compile error and program will run without any issue.
Explanation: While assigning any function to function pointer, & is optional. Same way, while calling a function via function pointer, * is optional.
Quiz of this Question
My Personal Notes arrow_drop_up
Please Login to comment...