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

Join The Discussion