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

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

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

1 Answers
Admin Staff answered 4 years ago

c) XOR