+ 2
What is different between
int & long int & short int
2 ответов
+ 1
All of them are whole numbers and it's been guaranteed that :
sizeof(short int) <= sizeof(int) <= sizeof(long int).
But the exact size of these depend on your system architecture and your compiler.
0
int is a data type that used to store an integer numbers but when I use the modifiers (long -short) you just modify the size of int according to that action the data size will be change try it your self size of (short int ) , size of (int long)