Top | MCQs on Bitwise Algorithms and Bit Manipulations with Answers | Question 10

Last Updated :
Discuss
Comments

If we want to invert all the bits of a number, then which bitwise operator should be used?

~

&

^

|

Share your thoughts in the comments