Dear Cranshaw,
My book of C++ ("The C++ Programming Language, 3rd edition" translated
into Japanese) explaines that "&&" has higher priority than "||".
So, I think F&&F||T should be (F&&F)||T.
Best Regards,
Etoh
On Wed, 01 Mar 2000 09:17:59 -0600,
Jack Cranshaw <cranshaw@fnal.gov> wrote:
Jack> It also depends on which order they are evaluated.
Jack> Your expression is F&&F||T which can be
Jack> evaluate (F&&F)||T=T or F&&(F||T)=F.
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:20 MET