Check out example codes for "difference between unsigned and signed". It will help you in understanding the concepts better.

Code Example 1

unsigned int x; //Unsigned variables can store the number zero and positive numbers.

signed int y; //Signed variables can store negative, zero, and positive numbers.

Learn ReactJs, React Native from akashmittal.com