Question: what is the difference between do while and while?
Answer: While loop is executed only when given condition is true. Whereas, do-while loop is executed for first time irrespective of the condition.