Repetition

C has several control structures for repetition.

Statement Repeats an action ...

while zero or more times

depending on a condition

do..while one or more times

depending on a condition

for zero or more times

depending on a condition

with initialisation and update

Index