Statement terminates the loop
Answers
Answered by
0
Answer:
The break statement exits a for or while loop completely. To skip the rest of the instructions in the loop and begin the next iteration, use a continue statement.
break is not defined outside a for or while loop. To exit a function, use return .
Similar questions
CBSE BOARD X,
2 months ago
English,
2 months ago
Math,
2 months ago
Economy,
4 months ago
India Languages,
4 months ago
Sociology,
9 months ago
Political Science,
9 months ago