Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
body of while loop never execute if test condition is false.... where as body of do while loop executes atleast one time even test condition is false b/c in while loop test condition is check first, on the other hand in do while test conditon check always chk after the body of loop execution.