1.

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

A. 10
B. 0
C. Compilation Error
D. Depend on compiler
E. None of these
Answer» D. Depend on compiler


Discussion

No Comment Found

Related MCQs