Discussion in 'C' started by Fazil RF, Jan 21, 2013.
In C prog,why integer as (-32768 to +32767) these range. what reason behind this ??
The reason is very simple. As we know integer takes two bytes in memory. 2B means 2^4 bits i.e 16 bits. Now 1 bit is left out for the preceding sign(+ or -).
now, 2^15 means 32768.
thank u friend
Separate names with a comma.