Examveda
Examveda

What will be the output of the following C code?
#include<stdio.h>
int main()
{
    printf("Hello");
    main();
    return 0;
}

A. Hello is printed once

B. Hello infinite number of times

C. Hello is not printed at all

D. 0 is returned

Answer: Option B


This Question Belongs to C Program >> C Miscellaneous

Join The Discussion

Related Questions on C Miscellaneous