Talk:Bit field
From Wikipedia, the free encyclopedia
I'm quite surprised about this statement:
unsigned int likesIceCream : 1;
I guess it means "create an unsigned int with the size of 1 bit", so would
unsigned int myVar : 4;
create a 4-bit unsigned int variable by the name myVar
? Is this colon operator defined in the ANSI C standard? --Abdull 19:08, 26 January 2007 (UTC)