The range of the numbers that can be stored in 8 bits, if negative number are stored in 2's complement form, is
The range of the numbers that can be stored in 8 bits, if negative number is stored in 2's complement form, is −128 to 127.
A two's complement 8-bit number can only represent positive integers from 0 to 127 (01111111), because the rest of the bit combinations with the most significant bit as '1' represent the negative integers −1 to −128.
Signed char the 8-bit signed char data type can hold integer values in the range of −128 to 127.
2's complement:-
The negative of a binary number represented by switching all ones to zeros and all zeros to ones and then adding one to the result. Two's complement is the way most computers represent positive or negative integers. To get the two's complement negative notation of an integer, we write out the number in binary.