C-18-Q027mediumsingle_mcq
In a while loop, the final value of the counter (or the condition for it) is given in the:
In a while loop, the final value of the counter (or the condition for it) is given in the:
- aInitialization part
- bCondition part
- cIncrement part
- dPrint part
ব্যাখ্যা
The loop continues only while the test in the condition part remains true, so the final value (the stopping point) of the counter is checked there. When the condition becomes false, the loop ends.