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 >
void main()
{
m();
}
void m()
{
printf(“hi”);
m();
}

What will be the output of the following C code?
#include < stdio.h >
void main()
{
m();
}
void m()
{
printf(“hi”);
m();
}
a) Compile time error
b) hi
c) Infinite hi
d) Nothing

Answer: c

Join The Discussion