When do you use "if ( a = b )"? (was Re: Funny mistake)
Byron Rakitzis
byron at archone.tamu.edu
Mon Apr 1 15:41:06 AEST 1991
In article <13982 at helios.TAMU.EDU> byron at archone.tamu.edu (Byron Rakitzis) writes:
>For the pedants on the net, the C.O.F. of the first statement is of course
>
> if (A = f1() - 2 || A = f2() - 3 || A = f3() - 4)
>
>Pardon my flatulence.
Whoa, am I beet-red! I'll try not to post to comp.lang.c for another
month in repentance. Even the second attempt at COF is way wrong.
Last try: (though this one doesn't look as horrible as the one above)
if ((A = f1()) - 2 || (A = f2()) - 3 || (A = f3()) - 4)
("not to put too fine a point on it," as the British say.)
More information about the Comp.lang.c
mailing list