C struct memory layout?
- by Eonil
I have C# background. Very newbie to low level language like C.
In C#, memory layout by compiler by default, and I have to specify some special attribute to override this behavior for exact layout.
As I know, C does not re-align by default. But I heard there's a little re-aligning behavior which very hard to find.
Can I know about C's memory layout behavior? (what should be re-aligned and not)