1.

What will be the output of the following C code?
 #include <stdio.h>
void A(int (*n)(int));
int B(int);
int (*P)() = B;
int main()
{
A(P);
}
void A(int(*j)(int ))
{
j(121);
}
int B(int j)
{
printf("%d n", j);
return j;
}

A. Compilation Error
B. Segmentation fault
C. Garbage value
D. 121
E. None of these
Answer» E. None of these


Discussion

No Comment Found