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