What is structure padding how to avoid it
Sigiloso
Using #pragma pack(1) Directive: #pragma pack(1) directive is used to avoid structure padding by forcing the compiler not to use structure padding and align the structure members end to end during the memory allocation process.