Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: net.lang.c Subject: Re: c programming style Message-ID: <4030@alice.UUCP> Date: Sat, 20-Jul-85 11:39:39 EDT Article-I.D.: alice.4030 Posted: Sat Jul 20 11:39:39 1985 Date-Received: Mon, 22-Jul-85 06:24:04 EDT References: <1303@uwmacc.UUCP> Organization: Bell Labs, Murray Hill Lines: 13 Joel Plutchak says: > I submit that equating a globally recognized set of > constants (i.e. the set of integers) with values that differ depending on > whatever program variable happens to be nearest to them is guaranteed to be > misleading. C doesn't redefine the integers; it defines addition and subtraction on pointers. That is: if p is a pointer to element n of an array and i is an integer, then p+i is a pointer to element n+i of that same array. If p is a pointer to element n of an array and q is a pointer to element k of the same array, then p-q is an integer and has the same value as n-k. What is so confusing about that???