Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!ucbvax!decwrl!decvax!ima!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: Problem with ()?():() as ending test in for-loop Message-ID: <13478@haddock.ima.isc.com> Date: 28 May 89 05:55:28 GMT References: <1200@liszt.kulesat.uucp> <17722@mimsy.UUCP> <732@sdrc.UUCP> <4326@ficc.uu.net> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Boston Lines: 9 In article <4326@ficc.uu.net> peter@ficc.uu.net (Peter da Silva) writes: > (()&&(char *))||(~()||(void *)) -- may be char *, will never be void *. No, it will always be of type int (conceptually boolean, but in C that's int). Note that the original statement of equivalence was explicitly restricted to boolean expressions. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint