Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site mit-eddie.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!harpo!ihnp4!mit-eddie!barmar
From: barmar@mit-eddie.UUCP (Barry Margolin)
Newsgroups: net.lang.c
Subject: Re: pointer question
Message-ID: <1415@mit-eddie.UUCP>
Date: Sat, 10-Mar-84 22:26:56 EST
Article-I.D.: mit-eddi.1415
Posted: Sat Mar 10 22:26:56 1984
Date-Received: Sun, 11-Mar-84 07:05:26 EST
References: <7624@mgweed.UUCP>
Organization: MIT, Cambridge, MA
Lines: 13

Yes, a pointer is an address, but there are different kinds of
addresses.  Consider a machine where four characters fit into a word,
and one integer fits into a word (remember, this is just a
hypothetical).  Thus, you can reference four times as many characters as
you can integers, so you need at least two more bits in a *char than in
a *int.  On some machines this is not really a problem: normal pointers
are byte pointers, and word pointers are just pointers whose low order
two bits are both zero.  Other machines actually have two different
kinds of pointers.
-- 
			Barry Margolin
			ARPA: barmar@MIT-Multics
			UUCP: ..!genrad!mit-eddie!barmar