binary operator "<"
- by md004
Consider this expression as a "selection" control structure on integer "x":
0 < x < 10,
with the intention that the structure returns TRUE if "x" is in the range 1..9.
Explain why a compiler should not accept this expression. (In particular, what are the issues regarding the binary operator "<"?
Explain how a prefix operator could be introduced so the expression can be successfully processed.