Another <sigh> error!

Peter J. Holsberg pjh at mccc.edu
Fri Apr 5 06:52:57 AEST 1991


Oops!  I did it again!  Must be affected by the news report that said
that men lose brain cells faster than women!  So of course the few
people who answered my posting(s) are bent on showing me up rather than
answering my question.  Serves me right for making such stupid mistakes
and deflecting them from my purpose!!

Let me *not* give an example but couch the question in more general terms.

Where/how does the standard explain that an expression such as

	x[i++] *= y;

has the "x[i++]" part evaluated only once, while an expression such as

	x *= y;

has the "x" part evaluated twice, as in

	x = x * y;
	
Thanks.  I hope I got it right this time.  ;-)

Pete
-- 
Prof. Peter J. Holsberg      Mercer County Community College
Voice: 609-586-4800          Engineering Technology, Computers and Math
UUCP:...!princeton!mccc!pjh  1200 Old Trenton Road, Trenton, NJ 08690
Internet: pjh at mccc.edu	     Trenton Computer Festival -- 4/20-21/91



More information about the Comp.lang.c mailing list