Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   UINT32 x : 1 ? (http://www.go4expert.com/forums/uint32-x-1-t11619/)

mottoshiritai 25Jun2008 10:50

UINT32 x : 1 ?
 
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.


All times are GMT +5.5. The time now is 22:32.