Question: what is the difference between signed int and unsigned int?
Answer: An unsigned variable type of int can hold zero and positive numbers, and a signed int holds negative, zero and positive numbers. In 32-bit integers, an unsigned integer has a range of 0 to 232-1 = 0 to 4,294,967,295 or about 4 billion. ... The range is the same, but it is shifted on the number line.