1,320 views

If an integer needs two bytes of storage, then the maximum value of unsigned integer is

1. $2^{16} – 1$
2. $2^{15} – 1$
3. $2^{16}$
4. $2^{15}$

A. 216-1.

2 bytes=16 bits therefore 2^16 possible values
But since values start from 0,there's one less value for positive numbers. So -1

Ans: A 2 bytes= 16 bits

so, 0 to (2^16)-1