Top

Discussion

What is the output of this C code?

void main()
    {
        static int x = 3;
        x++;
        if (x <= 5)
        {
            printf("hi");
            main();
        }
    }

 

  • A.Run time error
  • B.hi
  • C.infinite hi
  • D.hi  hi

Answer: D

No answer description available for this question.

No comment is present. Be the first to comment.
Loading…

Post your comment