Originally posted by cjolley
The word may be "for", but c "for" loops are realy "while" constructs.
The word may be "for", but c "for" loops are realy "while" constructs.
In fact, unless I'm not remembering correctly*,
for(i=x; i<j;--i)
would decrement i even if j<i , at least on old compilers*Like that never happens.
for(i=x; i<j;--i)
would decrement i even if j<i , at least on old compilers*Like that never happens.
- Gurm
Comment