401,490 views
2 votes
2 votes
How many times will be body of the FOR loop execute. (note the semicolon at the end of FOR statement

for (int i=0; i<20;i++);
{
//body of for loop
}
O Syntax error
O 20
O 21
O Infinite Loop
will save this response

User BHC
by
2.5k points

1 Answer

13 votes
13 votes

Answer:

Step-by-step explanation:

code in the curly braces is treated as regular body and will be executed normally

User Rolando Isidoro
by
3.2k points