Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

What will be the output of the following C code?
#include < stdio.h >
int x;
void main()
{
printf(“%d”, x);
}

What will be the output of the following C code?
#include < stdio.h >
int x;
void main()
{
printf(“%d”, x);
}
a) Junk value
b) Run time error
c) 0
d) Undefined

Answer: c

Join The Discussion