bilbo.dana@CS.UCLA.EDU (Dana Myers) (07/11/87)
> ... 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