1.

What will be the output of the following C code?
#include <stdio.h>
void function(int);
void (*fun)(void) = function;
int main(int argc, char *argv[])
{
fun(20);
return 0;
}
void function(int k)
{
printf("%d n", k);
}

A. Compilation Error
B. Garbage value
C. 20
D. Runtime Error
E. None of these
Answer» B. Garbage value


Discussion

No Comment Found