7 ms·
Compiles are free to not zero padding bytes if a struct is passed to memset but there are some situations where padding is not unspecified, for example if you d
by saagarjha 3y ago
Compiles are free to not zero padding bytes if a struct is passed to memset but there are some situations where padding is not unspecified, for example if you do partial initialization of it.
- DSMan195276 3y agoCould you explain what you mean by partial initialization?
- saagarjha 3y ago= { .foo = bar };