Structures in C

Structures in C share the same concept of alignment that Go uses, but they are always aligned using 4-byte padding. Unlike Go, it is possible to avoid padding entirely, which helps to save space by reducing memory usage. Let's find out more about this in the following sections.