3 ms·
But isn't each field a multiple of the word size on both 32 and 64-bit platforms?
by eutectic 10y ago
But isn't each field a multiple of the word size on both 32 and 64-bit platforms?
- FreeFull 10y agoint will be smaller than double on x86_64 (edit: x86 too, and most other platforms), but since in both structs int comes after the double, that doesn't matter. 400 is a multiple of 8, so it doesn't matter if it's before or after the double either.