Which logical operator returns 1 (True) if either one of the expressions is true. It returns 0 (false) if both the expressions are false?
A. AND
B. OR
C. NOT
D. All the above
Answer:B
Which logical operator returns 1 (True) if either one of the expressions is true. It returns 0 (false) if both the expressions are false?
A. AND B. OR C. NOT D. All the above