Which line of the following code contains an error:

int a = 3;
int i;                       // 2
for (i = 0; i < 3; i++) {    // 3
    a++;                     // 4
}

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes