0xc2000000 = 1100 0010 0000 0000 0000 0000 0000 0000
.
So 0xc2000000 >> 24
should be 1000 0000 0000 0000 0000 0000 1100 0010
,right?
But the result is -62
which is 1000 0000 0000 0000 0000 0000 0011 1110
.
I'm so confused
0xc2000000 = 1100 0010 0000 0000 0000 0000 0000 0000
.
So 0xc2000000 >> 24
should be 1000 0000 0000 0000 0000 0000 1100 0010
,right?
But the result is -62
which is 1000 0000 0000 0000 0000 0000 0011 1110
.
I'm so confused