Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!topaz!harvard!h-sc1!h-sc2!augart From: augart@h-sc2.UUCP (augart) Newsgroups: net.lang.c Subject: No!!! (was: Re: YANO (Yet Another New Operator)) Message-ID: <962@h-sc2.UUCP> Date: Sun, 25-May-86 01:15:17 EDT Article-I.D.: h-sc2.962 Posted: Sun May 25 01:15:17 1986 Date-Received: Mon, 26-May-86 01:40:25 EDT References: <304@apollo.mentor.UUCP> Reply-To: swa@borax.lcs.mit.edu Distribution: net Organization: Harvard University Science Center Lines: 19 In article <304@apollo.mentor.UUCP> franka@.UUCP (Frank A. Adrian) writes: > a[x++] = a[x]->next; or a[x] = a[x++]->next; > >I have trouble remembering in what order the increment takes >place. Is it before or after the assignment (No fair peeking in K&R!)? This is merely a slightly more complicated version of the disgusting: x = 5; x = x++; In my example, different compilers will leave you with x == 5 or x == 6. In your example, "what order the increment takes place" depends upon what compiler you have. Steven Augart swa@xx.lcs.mit.edu (swa@xx.ARPA)