Programming languages (e.g. c, c++, and java) usually have several types for integer arithmetic:
signedandunsignedtypes- types of different size:
short,int,long,long long - types of guaranteed and non guaranteed (i.e.implementation dependent) size:
e.g.int32_tvsint(and I know thatint32_tis not part of the language)
How would you summarize when one should use each of them?