I've noticed a strange statement while reading C code:
for (;;) {
// some code
}
That is the first time I see this syntax but I assume this is equivalent to:
while(true) {
// some code
}
The result is obviously the same (in terms of logic).
Then why is it written like that? Is there a difference at compilation time?