Article View: comp.lang.c.moderated
Article #2290Re: references wanted
From: Angelo John Mileto
Date: Fri, 15 Mar 1996 03:12
Date: Fri, 15 Mar 1996 03:12
13 lines
947 bytes
947 bytes
In article <4i97jv$8hn@solutions.solon.com> ANH@KUHUB.CC.UKANS.EDU writes: >But here is one simple rule, always use (Type*)0 and not null for null >pointer check. Show my a thousand standards that say I don't need >to do that, I would still use the construct. > >Anh I'll byte, what exactly does (Type*)0 do that NULL doesn't do and why will it always work whereas NULL may or may not? Angelo -- Old Programmers Never Die ... They Just Lose Their Bits
Technical Details
Message-ID:
<4ian7m$h54@solutions.solon.com>Path:
arc1-ca.pugleaf.net!solon.com!not-for-mailReferences:
<4i6fn8$p0g@solutions.solon.com> <4i97jv$8hn@solutions.solon.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!solon.com!not-for-mail From: runner!amileto@uunet.uu.net (Angelo John Mileto) Newsgroups: comp.lang.c.moderated Subject: Re: references wanted Date: 14 Mar 1996 21:12:54 -0600 Organization: The Unversity of Texas at San Antonio Sender: clc@solutions.solon.com Approved: clc@solutions.solon.com Message-ID: <4ian7m$h54@solutions.solon.com> References: <4i6fn8$p0g@solutions.solon.com> <4i97jv$8hn@solutions.solon.com> NNTP-Posting-Host: solutions.solon.com