If a continue statement is used within a for loop, is the test or iteration statement executed next?

John Zukowski

The third statement in the for loop, or the iteration statement is executed after a continue statement is used within a for loop. After the iteration statement is executed, the test condition is executed to see if the loop body should be repeated.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact