Answers for "what is structure padding"

C
0

what is structure padding

#include<stdio.h>
Struct dummy {
Int num;
Double x;
Float f;
};
Struct dummy1 {
Double x;
Int num;
Float f;
};
Int main()
{
Printf(“size:%d %d
”, sizeof(struct dummy ), sizeof(struct dummy1));
System(“PAUSE”);
Return 0;
}
Posted by: Guest on May-28-2021

Code answers related to "C"

Browse Popular Code Answers by Language