Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.lang.c Subject: Re: incrementing after a cast Message-ID: <4691@mimsy.UUCP> Date: Mon, 8-Dec-86 10:33:13 EST Article-I.D.: mimsy.4691 Posted: Mon Dec 8 10:33:13 1986 Date-Received: Tue, 9-Dec-86 10:00:59 EST References: <349@apple.UUCP> <2319@mtgzz.UUCP> <4674@mimsy.UUCP> Distribution: net Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 12 In article <4674@mimsy.UUCP>, in reference to `L = *((int *)cp)++', I wrote: >casts and `++' have higher precedence than `*'. `Wrongo, fishbreath.' Sorry about that. Casts, ++, and unary * all have the same precedence; but they group right-to-left, not left-to- right. Thanks to Roger Hale for pointing this one out. I wonder how I managed that kind of slip? -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) UUCP: seismo!mimsy!chris ARPA/CSNet: chris@mimsy.umd.edu