- The loop in which first condition is checked and then body of loop is executed is called pretest loop.
Pretest loops are for loop and while loop.
In posttest loop the body is executed at least ones. Post-test loop is actually a do-while loop. The loop in which first the body of loop is executed