Creating pointer with all bits 0 (was: Referencing NULL pointers)
Mark Brader
msb at sq.sq.com
Sat Sep 2 04:05:10 AEST 1989
Conor P. Cahill (cpcahil at virtech.UUCP) corrects me:
> memset ((void *) &p, 0, sizeof p);
> ^^
He's right, of course. I hate it when other people post an incorrect
correction to a posted article, and I apologize for doing that myself.
--
Mark Brader, utzoo!sq!msb, msb at sq.com C unions never strike!
This article is in the public domain.
More information about the Comp.lang.c
mailing list