4 ms·
It's not specified what happens to the memory padding bytes on structure assignment. Hence: you can't use memcmp() to reliably compare structures for equality.
by caf 11y ago
It's not specified what happens to the memory padding bytes on structure assignment.
Hence: you can't use memcmp() to reliably compare structures for equality.