Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!rochester!pt.cs.cmu.edu!g.cs.cmu.edu!ckk From: ckk@g.cs.cmu.edu (Chris Koenigsberg) Newsgroups: net.lang.c Subject: *p++ = *p and more Message-ID: <357@g.cs.cmu.edu> Date: Wed, 26-Mar-86 12:30:40 EST Article-I.D.: g.357 Posted: Wed Mar 26 12:30:40 1986 Date-Received: Sat, 29-Mar-86 01:26:10 EST Organization: Carnegie-Mellon University, CS/RI Lines: 24 The question was "what does (*p++ = *p) do?" The answer was that it could give one of two results, and both were legal since the value is undefined, depending on whether the compiler decides to increment before or after the fetch of the rvalue. We ran into a similar problem with a section of code containing "i=0; while(i