Sometimes it is desirable to skip some statements inside the loop. In such cases, break statement is used. State whether the statement is True (or) False And Justify it
Answers
Answered by
6
yes....the break statement breaks out of the loop as soon as a matching statement is found disregarding other statements
Answered by
2
False. Sometimes it is desirable to skip some statements inside the loop.
In such cases, the continue statement is used.
The break statement is used to terminate a certain segment altogether.
The continue statement, however, does not altogether stop the loop from working, but only skips the portion required, executing the later parts.
Similar questions
Chemistry,
7 months ago
Economy,
7 months ago
English,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Hindi,
1 year ago
Physics,
1 year ago