Generalized statement about for-loop syntax in C