To resize the structure as per the number of total bytes declared in structure we use the #pragma directive.
The #pragma pack directive modifies the current alignment rule for members of structures following the directive.
syntax: ex–>#pragma pack(1)