How is short int (or short) and int different in C? They have the same size and range. If they are essentially the same, what is the use of having two data types?
It depends on the system. Some OSes won't have the same length for both types.