The packed variable attribute

The variable attribute packed allows you to override the default alignment mode, to reduce the alignment for all members of an aggregate, or selected members of an aggregate to the smallest possible alignment: one byte for a member and one bit for a bit field member.

Read syntax diagramSkip visual syntax diagrampacked variable attribute syntax

Related information