Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!genie!udel!princeton!njsmu!mccc!pjh From: pjh@mccc.edu (Peter J. Holsberg) Newsgroups: comp.lang.c Subject: Error in previous posting Message-ID: <1991Apr4.160608.13628@mccc.edu> Date: 4 Apr 91 16:06:08 GMT Organization: The College On The Other Side of Route One Lines: 21 The other day I posted a request for information about how the standard describes the behavior of assignment operators when side effects are involved, but posted an incorrect example. Here's a correct example and a repost: x[i++] *= y; is treated as x[i++] = x[i] * y; instead of x[i++] = x[i++] * y; Where/how is this described? Interestingly, very few textbooks mention it at all, probably because they introduce assignment operators before side effects. Thanks, 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@mccc.edu Trenton Computer Festival -- 4/20-21/91