Computer Science, asked by Tridip11, 1 year ago

difference between AND operator and OR operator

Answers

Answered by JeetChuni
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

Tridip11: thank you
JeetChuni: you are welcome
Answered by cynthiarai
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

Tridip11: of course it will help thank you so much
cynthiarai: welcome
cynthiarai: can u mark it as a brainilist
Similar questions