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