C-18-Q019mediumsingle_mcq
In the format CounterInitialization; while Condition: // Statement; CounterDecrement/Increment, the part where the counter starts is the:
In the format CounterInitialization; while Condition: // Statement; CounterDecrement/Increment, the part where the counter starts is the:
- aCounterInitialization
- bCondition
- cIncrement
- dStatement
ব্যাখ্যা
CounterInitialization is the part where the counter variable is first assigned its starting value, before the loop begins. It sets up the counter that the condition and update steps later rely on.