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