Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!att!ihlpb!TSfR!usenet From: usenet@TSfR.UUCP (usenet) Newsgroups: comp.lang.c Subject: Re: Another silly question Summary: Huh? K&R says that `+' is a commutative operator... Message-ID: <547@TSfR.UUCP> Date: 18 May 89 06:16:17 GMT References: <17812@cup.portal.com> <2336@Portia.Stanford.EDU> Reply-To: orc@TSfR.UUCP (David L. Parsons) Followup-To: comp.lang.c Organization: This Space for Rent - Lisle, IL Lines: 12 Expires: In article <2336@Portia.Stanford.EDU> mesmo@Portia.Stanford.EDU (Chris Johnson) writes: > When "+" denotes simple (ie int/float/etc) arithmetic, the > operation commutes; when it denotes pointer arithmetic, > commutation is not legal/meaningful. Umm, I don't follow. K&R says that `+' is a commutative operator (K&R 1, page 185) and I can't find any comment to the contrary in the section that discusses `+' in detail. -david parsons -orc@pell.uucp