difference between c++; and ++c;

Norman Diamond diamond at jit345.swstokyo.dec.com
Thu Apr 11 11:16:38 AEST 1991


In article <4496 at gmdzi.gmd.de> wittig at gmdzi.gmd.de (Georg Wittig) writes:

>So, is  ``c++''  always equivalent to  ``(++c - 1)''  ?

Usually.  In cases of overflow, sometimes yes, sometimes not necessarily.
--
Norman Diamond       diamond at tkov50.enet.dec.com
If this were the company's opinion, I wouldn't be allowed to post it.



More information about the Comp.lang.c mailing list