#include<stdio.h>
#pragma pack (2)
typedef struct a
{
int b; //4
char c; //1
short d;//2
float e;//4
char f; //1
} st;
int main()
{
st s;
printf("%d",sizeof(s));
}
#pragma pack (2)
typedef struct a
{
int b; //4
char c; //1
short d;//2
float e;//4
char f; //1
} st;
int main()
{
st s;
printf("%d",sizeof(s));
}