In C++, what is the purpose of the 'do-while' loop?
A. Terminates the loop
B. Executes a block of code only once
C. Executes a block of code repeatedly until a condition becomes false
D. Executes a block of code repeatedly until a condition becomes true
Answer: Option C
Join The Discussion