Comment Comment by shultays Don't elements of structures are sorted before even packing starts? For example char c; int i; char c2;I thought in reality c2 starts after c. Instead of adding padding between each element, you will only need in boundaries parent shultays 11 years ago
I thought in reality c2 starts after c. Instead of adding padding between each element, you will only need in boundaries