4 AnswersNew Answer
Time is Money And in which language that ~ work that way? do you have a resource to backup your statement to be shared here, for people to learn?
Sorry for the wrong information ~ is the bitwise NOT operator Bitwise NOT changes each bit to its opposite: 0 becomes 1, and 1 becomes 0. In your case 3 --> 0000000000000011 Covert 0 to 1 and 1 to 0 1111111111111100 Which is equals to -4