Hex Editor - Binary File Editing Software for Windows
Download Hex Editor Neo Hide this button

do…while Statement

do…while statement has the following syntax:

statement-dowhile:
do
    statement-block
while (expr);

Evaluates statements and declarations in statement-block until expr becomes false. If expression is false at the first iteration, statements in statement block are evaluated exactly one time.

var i=10;
do
{
    int a;
    i = i - 1;
} while (i);