struct abc
{
int x;
char p;
double x;
char x1;
int x2;
char x3;
};
output: sizeof(abc)
is 32 byte
but same code
struct abc
{
int x;
char p;
double x;
char x1;
char x3;
int b3;
};
output of sizeof(abc)
is 24 byte
how in the 1st program compiler taking 8 byte more for a charecter
which is defined after integer ?