Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forumdisplay.php?f=20)
-   -   UINT32 x : 1 ? (http://www.go4expert.com/showthread.php?t=11619)

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 09:21.