If integer needs two bytes of storage. then maximum value of a signed integer is _____________.
If integer needs two bytes of storage. Then maximum value of a signed integer is 2^15−1
The maximum positive number that int can store is 2^15-1=32767 and the least negative number that it can store is -2^15=-32768.
An integer is a datum of integral data type, a data type that represents some range of mathematical integers. Integral data types may be of different sizes and may or may not be allowed to contain negative values. Integers are commonly represented in a computer as a group of binary digits (bits).