~x is 0xfffffeb =111111165438. 5438+0 1 1 1 1 1 1 1 10 10 10 1 1b
Numbers on ordinary computers are stored in the form of complement, so this value is -2 1, and the printed number is -2 1.