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

do

Example: do

The do...while construct provides an iterative loop. Use it in conjunction with the while keyword.

do statement... while( expression ); 

statement is executed repeatedly as long as expression is true. The test on expression takes place after each execution of statement.