`typedef struct emp
{
char name[2];
int age;
double sal;
} e1;
int main(){ e1 employee1; }`
I am expecting the sizeof(employee1) is 14 Bytes. but it is giving me 16 Bytes. I want to know why is ity 16 Bytes.
`typedef struct emp
{
char name[2];
int age;
double sal;
} e1;
int main(){ e1 employee1; }`
I am expecting the sizeof(employee1) is 14 Bytes. but it is giving me 16 Bytes. I want to know why is ity 16 Bytes.