It is equivalent to while(true).
A for-loop has three elements:
- initializer
- condition (or termination expression)
- increment expression
for(;;) is not setting any of them, making it an endless loop.
Reference: The for statement
It is equivalent to while(true).
A for-loop has three elements:
for(;;) is not setting any of them, making it an endless loop.
Reference: The for statement