+ 1

How do you make a loop infinite

Please tell me im in desprit need

15th Apr 2019, 2:33 AM
Nikolas
9 Answers
+ 2
It doesnt really matter
15th Apr 2019, 2:43 AM
Nikolas
+ 1
In loop pass condition which is always true Like while(1){ //Your code block } Above loop is infinite In what language your trying to implement this ?
15th Apr 2019, 2:41 AM
Yugabdh
Yugabdh - avatar
+ 1
Thank you so much
15th Apr 2019, 2:42 AM
Nikolas
+ 1
I actually asked that cause some languages have different syntax for looping like python.
15th Apr 2019, 2:45 AM
Yugabdh
Yugabdh - avatar
+ 1
You can also try for(;;){}
15th Apr 2019, 2:46 AM
Yugabdh
Yugabdh - avatar
0
Anybody please
15th Apr 2019, 2:34 AM
Nikolas
0
Oh and by the way html, javasript, or css
15th Apr 2019, 2:43 AM
Nikolas
0
Ya i know
15th Apr 2019, 2:46 AM
Nikolas
0
Oh thank you so much
15th Apr 2019, 2:47 AM
Nikolas