Structs and Unions
Warning
This post is more than a year old. Information may be outdated.
Structs
- In Computer Systems, structs are collections of heterogeneous data
- laid out in consecutive memory locations (used paddings to ensure alignment)
- reordering can reduce size!
... turns into ...
Comments