Reducing the size of struct by changing struct member declaration order
I am trying to understand the size of a struct based on it’s members as described a brief tutorial on data alignment (see here. The article states that "All data is naturally aligned within the structure. If type is located at address 0 the following double x is located with an offset of 8 at… Read More Reducing the size of struct by changing struct member declaration order