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

🎲 Try a Random Question  |  Total Questions in Quiz: 113  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
C Programming Practice Test: Miscellaneous Topics — practice the complete quiz, review flashcards, or try a random question.


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