Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!husc6!cmcl2!brl-adm!adm!bilbo.dana@CS.UCLA.EDU
From: bilbo.dana@CS.UCLA.EDU (Dana Myers)
Newsgroups: comp.lang.c
Subject: NULL,  0, 0 and readable code
Message-ID: <8262@brl-adm.ARPA>
Date: Sat, 11-Jul-87 12:45:01 EDT
Article-I.D.: brl-adm.8262
Posted: Sat Jul 11 12:45:01 1987
Date-Received: Sun, 12-Jul-87 17:00:54 EDT
Sender: news@brl-adm.ARPA
Lines: 39

> ... NULL is not, repeat, NOT, equal to zero ...
> NULL, on the other hand, is the absence of any number...
> NULL is hex 0 while zero is hex 30. Therefore, stdio.h
> should define NULL as 0x0, not 0 which would be 0x30....
> As for TRUE and FALSE, FALSE should be 0 or 0x30 and TRUE should be !FALSE.
>
> DISCLAIMER:  I'm just a Poli Sci major.

  (In Valley accent)  I know, like guy, you know I tried to add 2 and 2
with my totally rad Microsoft C V4.0 and I never got like anything that
agreed with what I expected. The results were just like totally tubular, like
you know? I mean, 2 + 2 = 100?? Is there something I totally missed out
on in high school while I was hanging out at the Galleria?

  Maybe one of you rad language dudes could like totally help out...
I got some other questions about pointers....

 here is the code:

/* Add 2 and 2 */

#define	TWO	('2')

main()
{
	int	answer;

	answer = TWO + TWO;
	printf("2 and 2 is %d\n", answer);	/* tubular! */
}

;-}

Disclaimer:   If you believe anything in this message, you deserve what
you get....

dana h. myers
locus computing corp.
santa monica, ca