Next: switch
Statement, Previous: return
Statement, Up: Statements [Contents][Index]
You can use a loop statement when you need to execute a series of statements repeatedly, making an iteration. C provides several different kinds of loop statements, described in the following subsections.
Every kind of loop statement is a complex statement because contains a component, here called body, which is a nested statement. Most often the body is a block.