The general form of do-while statement is

do expression while statement;
do while expression;
do statement while (expression);
do statement while statement; E. None of the above

The correct answer is C. do statement while (expression);

A do-while statement is a control flow statement that executes a block of code repeatedly until a condition is met. The general form of a do-while statement is:

do {
statement;
} while (condition);

The statement is executed at least once, even if the condition is false. The condition is evaluated after each iteration of the loop. If the condition is true, the statement is executed again. If the condition is false, the loop terminates.

Option A is incorrect because it does not include the condition. Option B is incorrect because it does not include the statement. Option D is incorrect because it does not include the condition and the statement. Option E is incorrect because it is not a valid option.

Exit mobile version