Question: use of while and do while loop in c?
Answer: C – do while loop in C programming with example. ... A do while loop is similar to while loop with one exception that it executes the statements inside the body of do-while before checking the condition. On the other hand in the while loop, first the condition is checked and then the statements in while loop are executed.