Boolean Results
- Any expression, using the relational operators, evaluates to a Boolean result, either true or false, 1 or 0 in C/C++.
- Example:
- The result of 10 < 20 is 1 or true
- The result of 20 < 10 is 0 or false.
- The relational operators also work with variables. If we take two integers x and y we can test them for equivalence by using the result of (x == y).