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

A. 2^{16}-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