N + 1

"int" can hold numbers in the range -32768 to + 32767. (0x8000 to 0x7FFF)
If you increment +32677, it wraps around to -32768.
This is an effect of the representation, called 2's complement