Re:Can (a ==1 && a== 2 && a==3) ever evaluate to true?
by FabHK on Tuesday January 16, 2018 @04:20PM
(#16162722)
You might have bugs in the real world that are caused by language features or idiosyncrasies that are visible in this artificial, small (thus more easily understood) toy example.
I often find these toy examples or trick questions (also in the context of C++ inheritance, for example) very instructive.
I often find these toy examples or trick questions (also in the context of C++ inheritance, for example) very instructive.