Which of the following statements is true 1continue terminat
Which of the following statements is true
1.continue terminates the loop
break terminates the loop
4. None of the above
Which numbers are true
| 1.continue terminates the loop | ||
| 2. | break terminates the loop | |
| 3. | break only be used in a loop | |
| 4. None of the above Which numbers are true | 
Solution
1.
continue :
continue is used to skip a certain test condition within a loop.
so continue not terminates the loop.
statement 1 is false.
2.
Break :
The break; statement terminates a loop.
statement 2 is true.
3.
since the break statement is used in the decision making statement which is if else statement.
statement 3 is false.

