I fully understand that 0110 & 0011 == 0010
but I still cant understand the NOT bitwise operations.
example
~0110 == 1001
can someone please explain this to me like I am a moron, which I just might be because this should be really simple.
I fully understand that 0110 & 0011 == 0010
but I still cant understand the NOT bitwise operations.
example
~0110 == 1001
can someone please explain this to me like I am a moron, which I just might be because this should be really simple.
If it's NOT 0, then it must be 1. If it's NOT 1, then it must be 0.