Question
What is the output of this C code?
  void main()
  {
    int i = 0, j = 0;
    for (i = 0;i < 5; i++)
    {
      for (j = 0;j < 4; j++)
      {
        if (i > 1)
          break;
      }
      printf("Hi \n");
    }
  }
Answer: Option A
Was this answer helpful ?
none
Was this answer helpful ?
Submit Solution