[email protected]

Signed values (or variables) such as signed integers or signed longs allow us to represent negative and positive numbers. Unsigned values (or variables) such as unsigned integers or unsigned longs allow us to represent only positive numbers. Signed and unsigned values (variables) of the same type share the same range. But, as you can see in the following figure, unsigned variables cover a larger magnitude number.