What it means for(;;)? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

What it means for(;;)?

meaning

14th Oct 2018, 2:31 AM
Edgar Augusto
Edgar Augusto - avatar
3 ответов
+ 4
I call it a "forever" loop (my name for an infinite loop using a for loop). It's missing an explicit test to break out of the loop. Break statements and return statements in the loop body can cause the loop to end normally. Exceptions that are caught outside the loop and uncaught exceptions thrown while executing the forever loop, will cause abnormal loop termination.
14th Oct 2018, 3:17 AM
Aaron Becker
Aaron Becker - avatar
0
hello
14th Oct 2018, 8:06 AM
Sohil Kumar
Sohil Kumar - avatar
0
rulane urgent meet
14th Oct 2018, 8:06 AM
Sohil Kumar
Sohil Kumar - avatar