Node:Loops, Next:Preprocessor directives, Previous:Decisions, Up:Top
Loops
Controlling repetitive processes. Nesting loops
Loops are a kind of C construct that enable the programmer to execute a sequence of instructions over and over, with some condition specifying when they will stop. There are three kinds of loop in C:
while
do
...while
for