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

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

Answer: b

Join The Discussion