home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / c / 12500 < prev    next >
Encoding:
Text File  |  1992-08-18  |  1.4 KB  |  32 lines

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