Why is this not valid
for( int i = 0, int x = 0; some condition; ++i, ++x )
and this is
int i, x; for( i = 0, x = 0; some c
Because a variable declaration (like int x) is not an expression and the comma operator (,) only combines expressions.
int x
,