3 ms·
No, if an overflow at 65535 occurs it would be to 0, not negative. signed 16-bit ints are -32768 to 32767, unsigned 16-bit ints are 0 to 65535
by dheera 4y ago
No, if an overflow at 65535 occurs it would be to 0, not negative.
signed 16-bit ints are -32768 to 32767, unsigned 16-bit ints are 0 to 65535
- maximilianroos 4y ago<a rare sighting of an int17>
- muzani 4y agoWhy allocate more bits than you ever need?