Which line of the following code contains an error:

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

or Read more about C++ Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback