C-17-Q100mediumsingle_mcq
The total count of odd numbers printed by the program is:
The total count of odd numbers printed by the program is:
- a49
- b50
- c100
- d99
ব্যাখ্যা
The loop checks numbers and prints odd ones; over the range it covers, exactly 50 values satisfy the odd condition. Since odd numbers occur once every two integers, a 100-number span yields odd numbers.