On 5/13/07, 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)

It's dependent on the OS -- Turbo C is targeted for 16-bit operating
systems (i.e., MS-DOS) whereas VC++ is targeted for 32-bit (or higher)
operating systems.

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
    If I were to divulge it, it would overturn the world."
               -- Jelaleddin Rumi

Reply via email to