Question
What is the output of this C code?
  int main()
  {
    int i = 0, j = 0;
    while (l1: i < 2)
    {
      i++;
      while (j < 3)
      {
        printf("loop\n");
        goto l1;
      }
    }
  }
Answer: Option B
Was this answer helpful ?
none
Was this answer helpful ?
More Questions on This Topic :
Question 9. if (a == 1||b == 2){} can be written as: ....
Submit Solution