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()
{
int k = 0;
for (k)
printf(“Hello”);
}

What will be the output of the following C code?
#include < stdio.h >
void main()
{
int k = 0;
for (k)
printf(“Hello”);
}
a) Compile time error
b) hello
c) Nothing
d) Varies

Answer: a

Join The Discussion