C-17-Q081mediumsingle_mcq
In a for loop, the variable used to count the iterations is called a:
In a for loop, the variable used to count the iterations is called a:
- acounter variable
- bcontrol flag
- caccumulator
- diterator object
ব্যাখ্যা
The variable that keeps track of how many times the loop has run is the counter variable. It updates with each pass through the loop to control when the loop stops.