A two's complement number, invert all the bits then add 1 to the result.

To invert a bit without using the "~" use the XOR operator. XOR operator needed to be done with all one's and that will invert the no then adding one will give the 2's compliment.