-
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);
}
-
- 11 21.000000
- Compilation Error
- Undefined behaviour
- Garbage value
- None of these
Correct Option: A
11 21.000000