New Features: ++(expr)
Brian T. Schellenberger
bts at sas.UUCP
Sun Feb 21 12:11:18 AEST 1988
In article <2354 at cxsea.UUCP> blm at cxsea.UUCP (Brian Matthews) writes:
|How does one increment x + y (as in ++(x+y)) or m + 4 (as in ++(m+4))?
Clearly, in the case ++(m+4), one increments `m' (the only lvalue); in
the case of ++(x+y), one increments either x or y, randomly chosen (if
they are integers); if they are floating-point numbers, one increments
each by 1/2. :-)
--
--Brian.
(Brian T. Schellenberger) ...!mcnc!rti!sas!bts
DISCLAIMER: Whereas Brian Schellenberger (hereinafter "the party of the first
More information about the Comp.lang.c
mailing list