I'm doubt why we uses -1 as 11111111 in signed int
, not 10000001. because as we learned first bit is use to specify the sign and rest of the seven bits are for the value. So in what reason designers decide to use -1 as
[ first bit
= 1 , Value by seven bits
=127 ] but not [ first bit
= 1 , Value by seven bits
=1 ]