What will be the output of the following C code?
#include <stdio.h>
void main()
{
static double x;
int x;
printf("x is %d", x);
}
#include <stdio.h>
void main()
{
static double x;
int x;
printf("x is %d", x);
}A. Nothing
B. 0
C. Compile time error
D. Junkvalue
Answer: Option C

Join The Discussion