C style

Joseph S. D. Yao jsdy at hadron.UUCP
Sun Nov 3 10:00:14 AEST 1985


In article <538 at ttrdc.UUCP> levy at ttrdc.UUCP (Daniel R. Levy) writes:
>                                                     ...  The && operator
>doesn't GUARANTEE the chronological order of evaluation is going to be left
>to right, if you have a screwball compiler (though it most probably will be).

Only screwball compilers.  In C, the evaluation of '||' and '&&' is
defined to be L-R.  However, the evaluation of '|' and '&' is not.
-- 

	Joe Yao		hadron!jsdy at seismo.{CSS.GOV,ARPA,UUCP}



More information about the Comp.lang.c mailing list