difference between AND operator and OR operator
Answers
Answered by
4
AND operator gives the result of binary multiplication of two bits,
OR operator gives the result of binary addition of two bits.
1 AND 0 = 0, 1 AND 1 = 1, 0 AND 0 = 0
1 OR 0 = 1, 1 OR 1 =1, 0 OR 0 = 0
OR operator gives the result of binary addition of two bits.
1 AND 0 = 0, 1 AND 1 = 1, 0 AND 0 = 0
1 OR 0 = 1, 1 OR 1 =1, 0 OR 0 = 0
Tridip11:
thank you
Answered by
4
AND operator results in true if both the expressions are true
OR operator is used to combine two conditional expressions.It will result in true if either of two conditions is true otherwise false.
HOPE IT HELPS
OR operator is used to combine two conditional expressions.It will result in true if either of two conditions is true otherwise false.
HOPE IT HELPS
Similar questions