C - Loop Control Statements
What will be the output of this C code?
int i = 0;
while(i < 3) {
printf("%d ", i);
i++;
if(i == 2) break;
}int i = 0;
while(i < 3) {
printf("%d ", i);
i++;
if(i == 2) break;
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions