MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code?#include <stdio.h> void (*(f1)())(int, float); typedef void (*(*f2)())(int, float); void f3(int k, float f1); int main() { f2 p = f1; p(); } void (*(f1)())(int, float) { return f3; } void f3(int k, float f1) { printf("%d %f n", k, f1); } |
| A. | Nothing |
| B. | Compilation Error |
| C. | Garbage value |
| D. | Undefined behaviour |
| E. | None of these |
| Answer» B. Compilation Error | |