Quote:
Is the size of int is same for all languages or it varies with the language you use?
Size of int have evolved with
time.
In the 80"s int was 8 bits because' processors were 8 bits.
then it was 16 bits and now it is usually 32 bits.
lets guess in future it will be 64 bits.
if you get a C program from 70's or 80's, int are expected to be 8 bits. it have changed over time.