Another silly question

usenet usenet at TSfR.UUCP
Thu May 18 16:16:17 AEST 1989


In article <2336 at Portia.Stanford.EDU> mesmo at 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 at pell.uucp



More information about the Comp.lang.c mailing list