home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!psinntp!psinntp!dg-rtp!batman!goudreau
- From: goudreau@batman.rtp.dg.com (Bob Goudreau)
- Subject: Re: Pointer/address reluctance
- Message-ID: <1992Aug18.165251.9813@dg-rtp.dg.com>
- Sender: usenet@dg-rtp.dg.com (Usenet Administration)
- Date: Tue, 18 Aug 92 16:52:51 GMT
- References: <l8ojbqINN900@exodus.Eng.Sun.COM> <1992Aug17.155553.19704@vaxeline.ftp.com> <l906giINN4rl@exodus.Eng.Sun.COM>
- Organization: Data General Corporation, RTP, NC
- Lines: 20
-
- In article <l906giINN4rl@exodus.Eng.Sun.COM> linden@positive.Eng.Sun.COM (Peter van der Linden) writes:
- > > You are perfectly free to redefine 'address' to mean 'pointer.'
- >
- > It's not a redefinition, as it is already used in the ANSI C standard
- > with this meaning.
-
- Beg your pardon? I can find no definition of a thing called "address"
- in the standard. The closest I can come is section 3.3.3.2, which
- describes an *operator* called "address-of". This operator most
- certainly does not yield an address, but a pointer:
-
- The result of the unary & (address-of) operator is a pointer
- to the object or function designated by its operand. If the
- operand has type ``_type_'', the result has type ``pointer to
- _type_''.
-
- ----------------------------------------------------------------------
- Bob Goudreau Data General Corporation
- goudreau@dg-rtp.dg.com 62 Alexander Drive
- +1 919 248 6231 Research Triangle Park, NC 27709, USA
-