home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!stanford.edu!ames!daffodil!wyvern!alpha
- From: alpha@wyvern.twuug.com (Joe Wright)
- Subject: Re: Pointer/address reluctance
- Message-ID: <1992Aug14.173255.10548@wyvern.twuug.com>
- Organization: Box 68621, Virginia Beach, 23455
- X-Newsreader: Tin 1.1 PL4
- References: <l8kteaINNp2c@exodus.Eng.Sun.COM>
- Date: Fri, 14 Aug 1992 17:32:55 GMT
- Lines: 16
-
- linden@positive.Eng.Sun.COM (Peter van der Linden) writes:
- : Can anyone explain the reluctance that some of the experts here
- : have in equating "pointer" with "address"?
- :
- : The ANSI C standard displays no such inhibition, e.g. Section 3.4
- : line 32 mentions "An address constant is a pointer to ..."
- :
- I agree with Peter. A pointer value is the address of an object.
- This 'address' is abstract, not 'actual' necessarily. In the normal
- context of a C program nobody knows or cares how the bits are set
- on the cpu's (or mmu's) hardware address bus. The 'address' in C
- context means 'where it is' as opposed to 'what is it'. I have
- no problem using 'address of' and 'pointer to' interchangably in
- the value context. Flames ON!
- --
- Joe Wright alpha@wyvern.twuug.com
-