C-17-Q089mediumsingle_mcq
Loop body statements continue to execute until:
Loop body statements continue to execute until:
- aThe condition is true
- bThe counter reaches its final value or the condition becomes false
- cThe user presses Ctrl+C only
- dThe program is recompiled
ব্যাখ্যা
A for loop keeps executing its body while the counter has not yet reached its final value, i.e. while the condition remains true. Once the counter exhausts the range (condition false), iteration stops.