+ 3
For( ; ; ) hw this loop is executed and what will be the o/p
4 Antworten
+ 13
endless loop
+ 13
no condition to check means a loop run forever I.e.endless loop
+ 6
It is called the INFINITE "FOR" LOOP.
+ 3
Loop starts.
declares no variables.
Declares no condition for exit.
declares no iteration.
Loop body runs.
Loop body ends
Test loop exit condition: returns false.
Repeats from start of loop body.