Search

Sponsored Links

Meta

Categories

Archives

Recent Posts

RSS Feeds

21
Dec

Unnamed Bit-Field

Related Blog Items

An unnamed bit field is used for padding to conform to external imposed layouts.

Unnamed bit-field with a width of zero specifies alignment of the next bit field at an allocation unit boundary.

struct becks {

int :3 //three bit field

}

 

[tags]unnamed bitfield, bitfields[/tags]

Popularity: 6%

You need to log on to convert this article into PDF


Related Blog Items

No Comments

No comments yet.

Leave a comment

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-spam image