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