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

Join The Discussion