++i++ in Plain English
Rogue Winter
rogue at cellar.UUCP
Sat Apr 13 03:26:39 AEST 1991
Deliberately not following any of the above, I think it's best to describe
the difference between ++i and i++ as follows:
++i Increment i and use the new value in expression (calculation).
i++ Use [old] value of i in expression and THEN increment.
All this talk about discarding values is confusing and misleading. i retains
its value until the function is exited (assuming i is local).
rogue winter : "Never trust a gentleman any further than you can throw
rogue at cellar.uucp: his valet."
More information about the Comp.std.c
mailing list