Utility Functions and C Language Reference > C Language Reference > Alphabetical List of Functions > while


Example: while

Performs an iterative loop. An instruction or instruction block is executed repeatedly as long as the while expression is true. The test on the expression takes place before the execution of the statement.

while( expression ) statement...