Question
OR Logical Operator in Validator
When I have the following expression in a validator, I expect the output to be false, based on the OR gate truth table; however, the output is true. Why is it true?
output = (false || false);
OR gate truth table
| A | B | A+B |
| 0 | 0 | 0 |
| 0 | 1 | 1 |
| 1 | 0 | 1 |
| 1 | 1 | 1 |

