HI,
In C int is by default, signed short int so it uses 2 bytes(I m talking abt 16 bit compiler). and its range is -32768 to 32767.
And char uses 1 byte.
char ch = 1300, printf("%d",ch); prints 20.
coz, it takes only 8 bits.
1300 = 0101 0001 0100 in binary.
so when storing 1300...