Ask Experts Questions for FREE Help !
Ask
    zecholia's Avatar
    zecholia Posts: 2, Reputation: 1
    New Member
     
    #1

    May 24, 2009, 06:57 AM
    What is BREAK STSTEMENT and CONTINUE STATEMENT in loop control structure mean?
    I have not understood this break statement and continue statement in loop structure while learning C.can u explain with an easy example:confused:
    Perito's Avatar
    Perito Posts: 3,139, Reputation: 150
    Ultra Member
     
    #2

    May 24, 2009, 10:32 AM

    BREAK is used to end a loop, often a FOR loop, immediately. It's used in Switch Case statements to end each case. Otherwise, program flows into the next state case.

    CONTINUE in a FOR loop is a command to return to the start of the loop and increment the iteration index.

Not your question? Ask your question View similar questions

 

Add your answer here.


Check out some similar questions!

Threeway control valve location closed loop chilled water system [ 2 Answers ]

Hi all, I am new to this site. Anybody could help me about exact location of threeway control valve in closed loop chilled water system for process cooling. I have doubt about the location, in the inlet of the heatexchanger or out let of the exchanger? Kindly help me. Regards, Sivam

Multiple-step income statement in good form and retained earnings statement [ 1 Answers ]

Hi I would like someone to check to see if I did this correctly, if I did not then please help. Thanks The Problem is: The following pretax amounts pertain to River Corp. for the year ended December 31, 2008. Sales... $400,000 Operating Expenses... 84,000 Extraordinary gain... 30,000...

Birth control pills continue [ 2 Answers ]

I have been off the pills for two moths and have been trying to conceive for that two months, what do you think I should do?


View more questions Search