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