C - Loop Control Statements
Identify the error in this C loop control code:
for(int i = 0; i < 5; i++) {
if(i == 2) break;
printf("%d ", i);
}for(int i = 0; i < 5; i++) {
if(i == 2) break;
printf("%d ", i);
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions