- 1
What is difference between while and do-while loop?
2 Answers
+ 1
(my statement) do-while loop must execute for 1 time but while is not. because do-while loop execute code then check conditions but while loop check condition first then execute code.