"ajinkyakale_86" <[EMAIL PROTECTED]> wrote: > Why is it that some compilers allocate 2 bytes for "int"(eg: > turboC) and some allocate 4 bytes(eg: VC++ visual studio)
Same reason it's 1 byte for many embedded systems and 8 on many 64-bit architectures. The size is going to be heavily influenced by the underlying architector and/or operating system. As a programmer, the only thing you generally need to know is that an int will be at least 16 bits wide. -- Peter
