1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

UINT32 x : 1 ?

Discussion in 'C' started by mottoshiritai, Jun 25, 2008.

  1. mottoshiritai

    mottoshiritai New Member

    Joined:
    Jun 25, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi all,
    I saw this somewhere. :freak:
    UINT32 x : 1;

    May I know what is the purpose of declaring the data type to 32 bits, but only 1 bit is in use? Is this related to hardware logic?

    Thanks for the help.
     

Share This Page