Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!gatech!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!edcastle!dcl-cs!gdt!exspes From: exspes@gdr.bath.ac.uk (P E Smee) Newsgroups: comp.lang.c Subject: Re: Assignment Ops and Side Effects Message-ID: <1991Apr5.163958.8483@gdr.bath.ac.uk> Date: 5 Apr 91 16:39:58 GMT References: <1991Apr3.173046.2367@mccc.edu> Reply-To: P.Smee@bristol.ac.uk (Paul Smee) Organization: University of Bristol c/o University of Bath Lines: 14 In article <1991Apr3.173046.2367@mccc.edu> pjh@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; The quick answer is that x++ is (explicitly) not an lvalue, and so cannot appear on the left-hand side of an assignment operator. -- Paul Smee, Computing Service, University of Bristol, Bristol BS8 1UD, UK P.Smee@bristol.ac.uk - ..!uunet!ukc!bsmail!p.smee - Tel +44 272 303132