odbapsvm wrote:
> Can someone tell me what controls the
> size of an int in C language?
>   

ISO/IEC Standard 9899 controls this.

By the way, it is defined to have a minimum of 16 bits, or more 
precisely, a range of -(2^15) to (2^15)-1, or 0 to 2^16 for unsigned int.

Most modern compilers have 32 bit integers because this is the word size 
of most modern microcomputers. Even 64 bit microprocessors often perform 
better in 32 bit mode. However, the standard does not require this, it 
merely gives a minimum size.

-- 
John Gaughan

Reply via email to