ambiguous ?
Peter da Silva
peter at ficc.uu.net
Sun Oct 22 13:03:45 AEST 1989
In article <14102 at lanl.gov> jlg at lanl.gov (Jim Giles) writes:
> Gee, isn't it interesting that the only order dependent behaviour you
> are willing to trust are the "well-defined" && and || operators.
Short-circuit evaluation of logical operators is a well-researched subject.
In any language in which this can occur (such as C and ADA), the order of
evaluation is well-defined. These particular semantics are *not*, as you
imply, a quirk of the C language.
--
Peter da Silva, *NIX support guy @ Ferranti International Controls Corporation.
Biz: peter at ficc.uu.net, +1 713 274 5180. Fun: peter at sugar.hackercorp.com. `-_-'
"ERROR: trust not in UUCP routing tables" 'U`
-- MAILER-DAEMON at mcsun.EU.net
More information about the Comp.lang.c
mailing list