Assignment Ops and Side Effects

Tim Pierce twpierce at amherst.bitnet
Fri Apr 5 10:04:59 AEST 1991


In article <1991Apr3.173046.2367 at mccc.edu>, pjh at mccc.edu (Peter J. Holsberg) writes:
> How does the standard describe the situation where, for example,
> 	x++ *= y;
> is treated as if it were
> 	x++ = x * y;
> and not
> 	x++ = x++ * y;

x++ is not an lvalue in any compiler that I know of.

-- 
____ Tim Pierce                     / 
\  / BITnet: twpierce at amherst       /   Forewarned is half an octopus.
 \/  Internet: twpierce at amherst.edu / 

   Never underestimate the bandwidth of a station wagon filled with tapes.



More information about the Comp.lang.c mailing list