Let’s talk about integers. Whole numbers less than zero are called negative integers. The integer zero is neither positive nor negative and has no sign. Two integers are opposites if they are each the same distance away from zero but on opposite sides of the number line. Positive integers can be written with or without a sign. Besides that, an integer without any sign is called Unsigned integer.
int data type is signed and has a minimum range of at least -32767 through 32767 inclusive. The actual values are given in
unsigned int has a minimal range of 0 through 65535 inclusive with the actual maximum value being
UINT_MAX from that same header file.