3 ms·
> A compiler can also change the order of fields if this could improve the speed of reading them No, C does NOT allow that! C++ theoretically allows to reorder
by spacechild1 4y ago
> A compiler can also change the order of fields if this could improve the speed of reading them
No, C does NOT allow that! C++ theoretically allows to reorder sections with different access specifiers (public, protected, private), but I don't think any compiler actually does this. It would just create a big mess for little gain.