Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   16,32,64 bit (http://www.go4expert.com/forums/163264-bit-t3257/)

anilk501 5Mar2007 17:18

16,32,64 bit
 
what does a program define 32 bit or 64 bit
(is ist address bus or data bus)
what is sizeof int how it is different on different system

DaWei 5Mar2007 17:26

Re: 16,32,64 bit
 
If you rude people would bother to read the rules or "how to post" threads, you wouldn't double post (one wonder if you fart in a new church before finding out it's frowned upon). The 32-, 64-bit designation is based on the width of the data bus. The size of an integer would likely be 32 for the first, and 64 for the second, because that's the largest size the machine can handle with a single read. There is no requirement that it be specified in this way, it might be defined as smaller, but one tends to define the integer as the largest single value the machine can fetch in one operation. A byte is always size 1, per the standard. A byte is not necessarily 8 bits, however.

shabbir 5Mar2007 18:44

Re: 16,32,64 bit
 
Duplicate of 16,32,64 bit. Thread closed.


All times are GMT +5.5. The time now is 14:02.