+ 1

what is the difference between bitwise and,conditional and operator

In c language

5th Apr 2020, 4:10 PM
Lavanya T
Lavanya T - avatar
3 Answers
+ 1
Tq
5th Apr 2020, 4:17 PM
Lavanya T
Lavanya T - avatar
+ 1
Bitwise AND operator compares its operands value bit by bit, literally. The operation result usually expected or treated as a number. Logical or boolean AND compares its operands value as is. All it cares about is whether the operands were (or evaluable as) zero or non zero, it doesn't care much about the bits. The operation result usually expected or treated as boolean state.
5th Apr 2020, 6:01 PM
Ipang