for(;
first semicolon (
stands for assignments. All assignment should be assigned befor it. Next (
is for conditions. After this u can write ur iteration statements.
If none is written befor of after any semicolon, then the compiler assume that there's no assignment, no conditions and even no iteration statement.
-sham-