+ 3
What means this for condition?
for(; ;).
3 odpowiedzi
+ 19
It means that for-loop will run forever. Usually there is condition in such loops to break them.
+ 8
This for has no counter initialized, no condition to end, and no incrementer or decrementer. Even though they aren't written there, the semicolons still need to be placed.
It functions like while(true) and will run forever (or at least until it hits a break statement).
+ 2
thanks for answering.