0

How to get infinite while loop

21st Jun 2017, 4:54 AM
radhalakshmi arjun
2 Answers
+ 3
while(true) { // code within while loop goes here }
21st Jun 2017, 4:56 AM
Dillon Schultz
Dillon Schultz - avatar
+ 3
while (1) {}
21st Jun 2017, 4:56 AM
Bogdan Sass
Bogdan Sass - avatar