C-18-Q014mediumsingle_mcq
The number of iterations of a while statement is calculated using:
The number of iterations of a while statement is calculated using:
- aRandom values
- bPreviously declared counter variables
- cHard-coded loop labels
- dThe system clock
ব্যাখ্যা
The number of repetitions in a while loop is typically controlled by a counter variable that is declared and initialized beforehand, then tested and updated each pass. This counter determines how many iterations occur.