Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!lll-winken!uunet!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: When is a cast not a cast? Message-ID: <4078@ficc.uu.net> Date: 4 May 89 19:39:11 GMT References: <2747@buengc.BU.EDU> <2515@ogccse.ogc.edu> Organization: Xenix Support Lines: 12 Think of memory as a deck of cards. You can add 3 to the 5 of spades, and get the 8 of spades. You can subtract the 4 of clubs from the 9 of clubs and get 5 cards difference. But you can't add the 3 of hearts to the four of hearts. -- you can't add pointers to pointers. Continuing, you can't subtract the three of hearts from the four of spades. -- you can't compare pointers of different types. -- Peter da Silva, Xenix Support, Ferranti International Controls Corporation. Business: uunet.uu.net!ficc!peter, peter@ficc.uu.net, +1 713 274 5180. Personal: ...!texbell!sugar!peter, peter@sugar.hackercorp.com.