What will be the output of the following C code?
#include <stdio.h>
int x;
void main()
{
printf("%d", x);
}
#include <stdio.h>
int x;
void main()
{
printf("%d", x);
}
A. Junk value
B. Run time error
C. 0
D. Undefined
Answer: Option C
Join The Discussion