1.

What will be the output of the program? #include int fun(int, int); typedef int (*pf) (int, int); int proc(pf, int, int); int main() { printf("%d\n", proc(fun, 6, 6)); return 0; } int fun(int a, int b) { return (a==b); } int proc(pf p, int a, int b) { return ((*p)(a, b)); }

A. 6
B. 1
C. 0
D. -1
Answer» C. 0


Discussion

No Comment Found

Related MCQs