What does the bitwise NOT operator do?

What does the bitwise NOT operator do?



The NOT operation INVERTS BITS.
A 0 becomes a 1.
A 1 becomes a 0.

It is written as the tilde character ~ which goes before the 2 numbers.

~ 0000 0101 -> 1111 1010

Popular posts from this blog

Is rotation necessary in PCA? If yes, Why? What will happen if you don't rotate the components?

After analyzing the model, your manager has informed that your regression model is suffering from multicollinearity. How would you check if he's true? Without losing any information, can you still build a better model?

What does Latency mean?