Question
What is output of code given below?
  int main()
  {
    int i = 0, j = 0;
    while (i < 2)
    {
      l1 : i++;
      while (j < 3)
      {
        printf("Loop\n");
        goto l1;
      }
    }
  }
Answer: Option D
Was this answer helpful ?
none
Was this answer helpful ?
Submit Solution