Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!alice!ark From: ark@alice.UucP (Andrew Koenig) Newsgroups: net.lang.c Subject: Re: *p++ = *p results? Message-ID: <5164@alice.uUCp> Date: Sun, 23-Mar-86 21:26:43 EST Article-I.D.: alice.5164 Posted: Sun Mar 23 21:26:43 1986 Date-Received: Tue, 25-Mar-86 03:27:21 EST References: <312@imagen.UUCP> Organization: Bell Labs, Murray Hill Lines: 7 > In the statement *p++ = *p; what will be the result? Will p be equal > to itself or will p be equal to the next value it is pointing to? > In other words should p be incremented after it is evaluated or should > p be incremented after the assignment operation is finished?-- This is undefined, because the implementation is permitted to evaluate either side of the assignment first.