0
Doesn't while() with empty parenthesis mean while true?
5 Answers
+ 4
Verstappen
The syntax of do while loop is:
do {
//expression
} while(condition);
So it is necessary to have a condition inside while.
+ 3
Verstappen Nope, the while loop needs an expression inside the brackets. Any number other than 0 works.
+ 3
No!
Even compiler is telling you
🤨🤨😒
+ 1
Calvin Thomas oh okay thanks!
0
🌀 Shail Murtaza شعیل مرتضیٰ like I can't read. Just had this doubt