C-18-Q062mediumsingle_mcq
Which statement is true about continue?
Which statement is true about continue?
- aIt exits the loop entirely
- bIt skips the remaining body of the current iteration and proceeds to the next iteration
- cIt pauses execution forever
- dIt deletes the loop variable
ব্যাখ্যা
continue skips only the remaining statements in the current iteration and immediately moves to the next iteration of the loop. Unlike break, it does not exit the loop entirely.