Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!ucbvax!torolab6.vnet.ibm.com!mccrady From: mccrady@torolab6.vnet.ibm.com ("++Don;") Newsgroups: comp.lang.c Subject: NULL and 0 Message-ID: <9105151906.AA22909@ucbvax.Berkeley.EDU> Date: 15 May 91 19:08:02 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 13 > I advised somebody something similar to that, telling him (like I > learned from the FAQ) that weird machines have weird pointers, that > (char*)0 and 0L might have different binary representations and the > like. His response to this was: > "I claim there are no machines like this" > What do you gurus say about this? How about an example of a machine > or OS where this is true? Example: The IBM AS/400... (char *)0 is 16 bytes long, and not just 16 bytes of zero. 0L is ordinary 2's complement integer, with 4 bytes of zero. ++Don;