- 1

in a while loop the test statement will not enter the loop if the statement is false in c++

Is it true or false

31st Jul 2020, 10:21 AM
Raja Baja
Raja Baja - avatar
2 Answers
+ 2
That's how it works. If the condition is false to begin with, the loop doesn't even run once.
31st Jul 2020, 11:22 AM
HonFu
HonFu - avatar
0
Why are you asking this?
31st Jul 2020, 10:34 AM
The future is now thanks to science
The future is now thanks to science - avatar