English

Labelled break statement allows the next iteration of the loop from any place of looping structure. - Computer Applications

Advertisements
Advertisements

Question

Labelled break statement allows the next iteration of the loop from any place of looping structure. 

Options

  • True

  • False

MCQ
True or False

Solution

This statement is False.

Explanation:

  1. A labelled break statement terminates a loop (typically the outer loop) and exits it completely rather than skipping to the next iteration.

  2. The break statement (labelled or unlabelled) exits the loop rather than continuing to the next iteration. Use the continue statement if you wish to skip the current iteration and go to the next one.
shaalaa.com
  Is there an error in this question or solution?
Chapter 1.1: Nested Loop - EXERCISES [Page 145]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.1 Nested Loop
EXERCISES | Q II. 5. | Page 145
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×