32 bit. app

1) The addresses are limited to 32 bit(can be more in some cases). The
address space is limited to this value.
2) It will run on both 32 bit OS and 64 bit OS(64 bit OS can run 32 bit
apps)
3) A pointer is of 4 bytes.
4) some other differences wrt to other data types

 64bit app:

1) the address are limited to 2^64 ( theoretically)
2) It will run only on 64 bit OS
3) A pointer is of 64 bits(8 bytes)

BTW, Integer is always 4 bytes.
2 byte integers are history. Very few people use turbo C compiler nowadays.
gcc is the way to go.

-Sri


On Mon, Sep 29, 2008 at 12:42 PM, nidhi mittal <[EMAIL PROTECTED]>wrote:

> Hi all
> its a very basic ques may be for many of you .but i have this confusion
> from long that is.
> when we say this application is 32 bit application or 64 bit what do we
> mean by that
>  is it processor which is 32 bit or 64 bit
> or the OS which is is 32 bit or 64 bit
> or what ?
>
> 2. Does it have some relation that in windows in C language int size is 2
> bytes in linux gcc it is 4 bytes
> i mean any relation of word size with it ??
> --
> Thanks & Regards
> Nidhi
>



-- 
SK Malik

Reply via email to