0
do;while(true); is this loop is valid or nor
3 Answers
+ 2
This loop is valid. Only problem is that there will be an infinite loop.
0
valid but we use only depends on Boolean condition
- 2
it's valid, and as a infinite loop, it works the same as while(true){expression;}