Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: Another silly question Message-ID: <10286@smoke.BRL.MIL> Date: 18 May 89 02:31:58 GMT References: <17812@cup.portal.com> <2336@Portia.Stanford.EDU> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 8 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. - The statement that *(a+i) == *(i+a) is therefore invalid. 100% wrong! If you don't know C any better than that, you should avoid causing confusion and refrain from posting such misinformation.