FOR and WHILE are both entry condition loops, this means when the test condition in the loop fails at the beginning the loop, body of the loop, is not even executed.
while(false){cout << "hello"}
Will print noting since the entry condition is false!
Abonneren op:
Reacties posten (Atom)
Geen opmerkingen:
Een reactie posten