C - Loop Control Statements
Find the problem in this code:
int i = 0;
do {
i++;
if (i == 3) continue;
printf("%d ", i);
} while (i < 5);int i = 0;
do {
i++;
if (i == 3) continue;
printf("%d ", i);
} while (i < 5);i is incremented before the continue, so it always increases.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions