zecholia
May 24, 2009, 06:57 AM
I have not understood this break statement and continue statement in loop structure while learning C.can you explain with an easy example:confused:
zecholia May 24, 2009, 06:57 AM I have not understood this break statement and continue statement in loop structure while learning C.can you explain with an easy example:confused: Perito 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. Copyright ©2005-, Ask Me Help Desk
|
||||||||