c/language/do

Executes a repeatedly until the value of the condition  becomes false. The test takes place after each iteration.

Explanation
A statement causes the  (also called the loop body) to be executed repeatedly until the  (also called controlling expression) compares equal to 0. The repetition occurs regardless of whether the loop body is entered normally or by a into the middle of.

The evaluation of takes place after each execution of  (whether entered normally or by a goto). If the controlling expression needs to be evaluated before the loop body, the or the  may be used.

If the execution of the loop needs to be terminated at some point, can be used as terminating statement.

If the execution of the loop needs to be continued at the end of the loop body, can be used as a shortcut.

Keywords
,