1.

What will be the output of the following C code?
#include <stdio.h>
void function(int);
void (*fun)(float) = function;
int main()
{
fun(12);
}
void function(int n)
{
printf("%d n", n);
}

A. 12
B. Undefined behaviour
C. 12.000000
D. Compilation Error
E. None of these
Answer» C. 12.000000


Discussion

No Comment Found