What is a signed versus unsigned integer?

A signed integer is one which can be negative. In other words it has a positive (+) or negative (-) sign in front of it.

Computers will treat the top bit as the “sign” bit in a number.

Related pages