Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: When it is amoral... (Re: When is a cast not a cast?) Message-ID: <4097@ficc.uu.net> Date: 7 May 89 03:03:30 GMT References: <2765@buengc.BU.EDU> <563@lzaz.ATT.COM> <4093@ficc.uu.net> <127@quad.uucp> Organization: Xenix Support Lines: 21 In article <127@quad.uucp>, dts@quad.uucp (David T. Sandberg) writes: > It is? What about when the difference between the two is an odd > number of multibyte units? You have to align the result before using it, of course. > >(what's the average of the 7 clubs and the 9 clubs?) > More to the point, what's the difference between the 7 clubs and the > 8 clubs? clubs_t clubs[13]; printf("%d\n", &clubs[7]-&clubs[8]); The result better be -1. -- 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.