Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The issue with the while condition in a do while loop in C is that it may not be executed at all if the initial execution of the loop body results in an early return statement, a break statement or a continue statement that takes the control flow outside the loop. This can lead to unexpected behavior and bugs in the program.