C - Loops
Consider this code:
What is the output?
int i = 0;
do {
if (i == 2) break;
printf("%d ", i);
i++;
} while (i < 5);What is the output?
int i = 0;
do {
if (i == 2) break;
printf("%d ", i);
i++;
} while (i < 5);15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions