True or false A B is the same as B A for any boolean expre
True or false? A && B is the same as B && A for any boolean expressions A and B.
Solution
A && B and B && A are same for any boolean expression. ANSWER: True
Because, && operator indicates that if both A and B are true then the result is True else it is false. So, A && B and B && A are same.
| A | B | A && B | B && A |
| F | F | F | F |
| F | T | F | F |
| T | F | F | F |
| T | T | T | T |
