TIP: Click on subject to list as thread! ANSI
echo: c_echo
to: you
from: Jerry Coffin
date: 2003-09-08 02:25:12
subject: Re: Pointers

From: jcoffin{at}taeus.com
To: c_echo{at}yahoogroups.com

At 02:00 AM 9/8/2003 -0500, you wrote:

[ ... ]

>     True.  The standard only says that there will be a value
>  called NULL, which will be defined in a macro which will be
>  found in the stddef.h file.  It does not specify what value
>  will be specified by NULL.  It is generally zero, and I have
>  never heard of it being anything else, but still, implementation
>  defined is implementation defined, and not a strict standard.

Not so -- the macro NULL is required by the standard to have the value zero
-- the only part that's implementation defined is what type it is (e.g.
char, short, int, long, void *, etc.)
         Later,
         Jerry.





>  There may be further changes to the standard which define NULL
>  as being equal to zero, but that has no bearing on anybody doing
>  development work on an older compiler which predates any change
>  in the standard.  I would consider defining NULL as anything
>  other than zero as human error, which puts it right in the midst
>  of the realm of possibilities.  :)
>
>Kurt  (WI-USA)
>
> >  kkuzba{at}centurytel.net  http://home.centurytel.net/kkuzba
> >  'It is not so dark here,' said Theoden.
>
>
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/

--- SoupGate-Win32 v1.05
* Origin: jcoffin{at}taeus.com (2:292/516.666)
SEEN-BY: 633/267 270
@PATH: 292/516 854 140/1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.