16,32,64 bit

Discussion in 'C' started by anilk501, Mar 5, 2007.

Thread Status:
Not open for further replies.
  1. anilk501

    anilk501 New Member

    Joined:
    Oct 3, 2006
    Messages:
    16
    Likes Received:
    0
    Trophy Points:
    0
    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
     
  2. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    http://www.daweidesigns.com
    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.
     
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,376
    Likes Received:
    388
    Trophy Points:
    83
    Duplicate of [thread=3256]16,32,64 bit[/thread]. Thread closed.
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice