home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH02 / A02231.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-10-22  |  303.6 KB  |  1 channel  |  11,025 sample rate  |  28 seconds
Transcription: A break statement lets you end a Do, For, While or Switch statement and exit from it at any point. We have already seen the use of break in a switch statement to end a case. In a switch body, the break statement ends the processing of the switch body and control is transferred to the statement after the switch statement. In a Do, For or While loop, the break statement ends the loop and moves control to the next statement outside the loop.