+ 2

How do you make a while loop with no ending condition?

11th Oct 2019, 11:48 PM
daniel
daniel - avatar
4 Réponses
+ 9
While(1) { Code to be execute }
13th Oct 2019, 2:23 PM
Ayushi Gujarati
Ayushi Gujarati - avatar
+ 4
The condition must never evaluate to false
12th Oct 2019, 12:16 AM
Stephen Matthew
Stephen Matthew - avatar
0
Do you mean infinite loops...?? In C while(1) and for(;;)
14th Oct 2019, 4:38 AM
Nandhini.B.R
Nandhini.B.R - avatar