Sunday, March 25, 2012

break and continue in C

The break keyword is used to terminate a loop or exit from a block. After exiting, the program control jumps to the statement after the loop or block.

The continue keyword is used to skip a current iteration and move to the next iteration.

No comments:

Post a Comment