Want this question answered?
Be notified when an answer is posted
Chat with our AI personalities
The number of bits in an integer is the number of times you can divide the integer by 2, truncating each result, before you reach zero.
There are 8 bits in a byte, so a two byte integer would be 16 bits. The largest 16 bit integer possible would be 11111111111111112, which is 65535 in base 10.
The largest integer is 211 - 1 which is 2048 - 1 = 2047
From -524287 to 524288
Your website is useless