I understand that the sizeof(short_int)=2 bytes, sizeof(int)=4 bytes, sizeof(long_int)=8 bytes but what I mean to ask is if it is the case that int can store a digit up to 10^M, short int up to 10^L & long int up to 10^N where L<M<N? Is it the case?
If my understanding is correct then how can I know about these limits of storage i.e. L,M,N? If not then what is the real thing?