Loop Control Statements

The statement, when used inside the body of a loop, causes termination of the loop without terminating the program is _______?

Answer: break
Explanation

The break statement, when used inside a loop, immediately exits the loop and transfers control to the statement following the loop.

It does not terminate the entire program, only the current loop.

This question appeared in Past Papers (5 times)
ETEA 25 Years Past Papers Subject Wise (Solved) (2 times)
KPK Teacher Past Papers SST PST CT TT PET (2 times)
This question appeared in Subjects (1 times)

Install this app on your device for quick access right from your home screen.