Question
What is the output of this C code?
  int main()
  {
    int i = 0;
    do
    {
      i++;
      if (i == 2)
        continue;
        printf("In while loop ");
    } while (i < 2);
    printf("%d\n", i);
  }
Answer: Option A
Was this answer helpful ?
none
Was this answer helpful ?
Submit Solution