CPP MCQ
Which looping process is best used when the number of iterations is known?
A)
while
B)
do-while
C)
for
D)
all looping processes require that the iterations be known

Correct Answer : Option (C) :   for

Explanation : Because in for loop we are allowed to provide starting and ending conditions of loops, hence fixing the number of iterations of loops, whereas no such things are provided by other loops.