What would happen?

What would happen if you put for loop this way?

for(; ;)

will it create an infinite loop?
Yes, it creates an infinite loop.
It is equivalent to (but less legible in my opinion) this:
 
    while (true)

Topic archived. No new replies allowed.