मराठी

List the differences between break and continue statements. - Computer Applications

Advertisements
Advertisements

प्रश्न

List the differences between break and continue statements.

Continue statement is used only in theloop statement. 

फरक स्पष्ट करा

उत्तर

S. No. Break Continue
1. Break statement is used to terminate a block in which it exists. Continue statement is used to move the control to the next iteration of the loop ignoring other statements.
2. Break statement can be used in switch-case as well as in loop statements. Continue statement is used only in the loop statement.
shaalaa.com
Control Structure
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 6: Control Structures - Evaluation [पृष्ठ ८८]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 12 TN Board
पाठ 6 Control Structures
Evaluation | Q 5. | पृष्ठ ८८
अविचल Computer Applications [English] Class 10 ICSE
पाठ 1.1 Nested Loop
Review Insight | Q 3. | पृष्ठ १४३
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×