0
When a for loop runs the second time does the loop return to the for statement or to one line above the for statement?
What line does loop return to after first iteration?
1 Antwort
+ 1
1. int i;
2. for(i=0;i<5;i++) {
3. cout<<i;
4. }
After the loop ends on line 4,
it will return to line 2 until the condition i<5 is made true.