5.6 Do-while

The do-while loop has the following syntax:

    while (condition);

This loop is the same of the previous, but with the only difference that the condition is evaluated after the execution of the statement, so the statement is executed at least once.

This, and other documents, can be downloaded from http://opencbp.sourceforge.net/.

For questions about the Open C Book Project, read the documentation.