Article View: comp.std.c
Article #5829Re: null pointers of various types.
From: Blair P. Houghton
Date: Mon, 27 Mar 1989 17:40
Date: Mon, 27 Mar 1989 17:40
14 lines
1018 bytes
1018 bytes
In article <7672@june.cs.washington.edu> pardo@cs.washington.edu (David Keppel) writes: >I recently made the following assertions about pANSI C. >Are they correct? > >* The number zero (0) compares equal with any null pointer of any type. >* Null pointers of two types do not necessarily compare equal. If this is true, how long will it be until someone accidentally uses this fact to prove that one can violate the first and second laws of thermodynamics? --Blair "...since the zeroth is apparently conditional on data typing..."
Technical Details
Message-ID:
<2399@buengc.BU.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!buengc!bphReferences:
<7672@june.cs.washington.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!buengc!bph From: bph@buengc.BU.EDU (Blair P. Houghton) Newsgroups: comp.std.c Subject: Re: null pointers of various types. Message-ID: <2399@buengc.BU.EDU> Date: 27 Mar 89 17:40:29 GMT References: <7672@june.cs.washington.edu> Reply-To: bph@buengc.bu.edu (Blair P. Houghton) Followup-To: comp.std.c Organization: Boston Univ. Col. of Eng. Lines: 14