Check out example codes for "limit of integer in c". It will help you in understanding the concepts better.

Code Example 1

Type	 			Storage size						Value range signed char				1 byte							-128 to 127 int						2 byte						-32,768 to 32,767 int						4 bytes	 		 		-2,147,483,648 to 2,147,483,647 unsigned int			2 bytes						   0 to 65,535  unsigned int			4 bytes						 0 to 4,294,967,295 short					2 bytes						-32,768 to 32,767

Learn ReactJs, React Native from akashmittal.com