UINT32 x : 1 ?

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

  1. mottoshiritai

    mottoshiritai New Member

    Jun 25, 2008
    Likes Received:
    Trophy Points:
    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

  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