Pergunta de entrevista da empresa RTTS

(C/C++) What is the difference between a while loop and a do while loop?

Resposta da entrevista

Sigiloso

30 de mar. de 2010

A while loop runs only if the specified condition is true. A do while loop runs at least once irrespective of the truth of the specified condition.