Could all three parts be omitted from a for
?
Yes.
The phrase for( ; ; )
is the same as while( true )
.
Sometimes people do this,
although it is not very clear and should be avoided.
That's all for this chapter. Look at the following topics for a while. Click on a subject for more information.
for
statement.