What will be the output of the following C code?
#include <stdio.h>
int main()
{
printf("Hello World! %d \n", x);
return 0;
}
#include <stdio.h>
int main()
{
printf("Hello World! %d \n", x);
return 0;
}
A. Hello World! x;
B. Hello World! followed by a junk value
C. Compile time error
D. Hello World!
Answer: Option C
Join The Discussion