Hello friends!!!!!

do-while loop in C

C LANGUAGE

10/12/20241 min read

The do-while loop continues until a given condition satisfies. It is also called post tested loop. It is used when it is necessary to execute the loop at least once(mostly menu driven programs).

The syntax is :

do{

//code to be executed

} while(condition);