Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!elroy!orion.cf.uci.edu!uci-ics!ucla-cs!dieter From: dieter@oahu.cs.ucla.edu (Dieter Rothmeier) Newsgroups: comp.lang.c Subject: calloc Message-ID: <22842@shemp.CS.UCLA.EDU> Date: 11 Apr 89 19:22:43 GMT Sender: news@CS.UCLA.EDU Reply-To: dieter@cs.ucla.edu (Dieter Rothmeier) Distribution: na Organization: UCLA Computer Science Department Lines: 9 According to Harbison + Steele's book, calloc returns a region of memory with all bits set to zero. They also point out that pointers filled with zero bits do not necessarily have the value NULL, nor do arithmetic values consisting of zero bits have necessarily have the value zero. How can this be? I always thought a pointer consisting of zero bits is NULL. A puzzled programmer, Dieter Rothmeier