In a for loop, if a continue statement is executed, then the control jumps to _______. 

  • beginning of loop 
  • end of loop 
  • next iteration 
  • next statement
When a continue statement is encountered inside a loop, it skips the remaining portion of the current iteration and jumps to the start of the next iteration. In a for loop, this means the loop's update statement (like i++ in for(int i=0; i<10; i++)) gets executed.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *