The for loop performs at least ___ iteration/s.

Ngô Thị Vân

New member
The for loop performs at least ___ iteration/s.
A. 1
B. not necessarily an iteration
C. 2
D. Error
 
Answer: b
Explanation: Suppose the condition given to check by the for loop has a logical error- the for loop won’t iterate even once. Hence, it is not necessary that the for loop will run even once.
 

Tìm kiếm

Back
Top