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

Q & ACategory: Data StructureWhich of the following bitwise operations will you use to set a particular bit to 1?
Admin Staff asked 4 years ago

Which of the following bitwise operations will you use to set a particular bit to 1?
a) OR
b) AND
c) XOR
d) NOR

1 Answers
Admin Staff answered 4 years ago

a) OR