Question: what is the difference between short int and long int in c?
Answer: The main difference between them is their size. Depending on the computer but in most cases a "short" is two bytes a "long" is four bytes and an "int" can be two or four bytes. ... Now as far as the range that depends on the size of the int whether it is two or four bytes. Here is a table to reference sizes and values.