What statement executed in the body of a loop immediately terminates the loop?

1 answer

Answer

1101565

2026-05-06 04:05

+ Follow

The statement that immediately terminates a loop is the break statement. When encountered, it exits the loop regardless of the loop's condition, allowing the program to continue executing the code following the loop. This can be particularly useful for stopping the loop based on certain conditions that may arise during its execution.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.