During programming, break and continue are both used during the execution of loops.

During the execution of a loop, if we give break, then the execution of remaining statements inside that loop will terminate at that point and the code which is given after the loop will be executed.

During the execute of a loop. if we give continue, then the execution of remaining statements inside that loop will be skipped and it will start the execution of the next iteration of the loop.

Tagged with:

Filed under: AndroidBox 2dCocoaCocos2dCoronaiPadiPhoneObjective CTips and Tricks

Like this post? Subscribe to my RSS feed and get loads more!