[Solved] Which of the following bitwise operations will you use to set a particular bit to 0?

Which of the following bitwise operations will you use to set a particular bit to 0?

a) OR
b) AND
c) XOR
d) NAND

Answer: b
Explanation: 1 AND 0 = 0, 0 AND 0 = 0, any bit AND with 0 gives 0.

Comments