KodeGod.com

057. Technical interview question: Give the output of following code

 
int i;
int fun();
int main()
{
    while(i)
    {
        fun();
        main();
    }
    printf("Hello\n");
    return 0;
}
int fun()
{
    printf("Hi");
}