Live quiz

C Programming - Part 31

Question 1 of 25 Hints left: 3
Q1

What will be the output of the following C code? #include <stdio.h> int main() { int i = 0; do { i++; if (i == 2) continue; printf("In while loop "); } while (i < 2); printf("%d\n", i); }

  • A
  • B
  • C
  • D