Two semicolons inside a for-loop parentheses
for(;;) { } functionally means while (true) { } It will probably break the loop/ return from loop based on some condition inside the loop body. The reason that for(;;) loops forever is because for has three parts, each of which is optional. The first part initializes the loop; the second decides whether or not … Read more