Leave a Reply 3

Your email address will not be published. Required fields are marked *


Snr DingDong

Snr DingDong

Answer is D. The body of a do-while loop is always executed once. Note that num– doesn’t change num until after its used. So 5 is printed and as the while condition is never true it terminates the loop after its first check.

Suckmibaby

Suckmibaby

Correct

renko

renko

Indeed, answer is D.