Integers (Unsigned & signed)

What are the differences between unsigned int, signed int & int?

unsigned int can only store positive numbers..
In the tutorial - http://www.cplusplus.com/doc/tutorial/variables/

The va;ies an int can possess are:
signed: -2147483648 to 2147483647
unsigned: 0 to 4294967295

If you do not specify the int to be signed or unsigned, it is signed by default.
Topic archived. No new replies allowed.