S
sharat
hi groups.
what is structure padding exactly ?how the alignment will done
exactly?
example :
struct ex
{
double d1;
char c1;
};
sizeof above structure is 12.why?
i expected 16.
can any body explain.
thanx in advance .
what is structure padding exactly ?how the alignment will done
exactly?
example :
struct ex
{
double d1;
char c1;
};
sizeof above structure is 12.why?
i expected 16.
can any body explain.
thanx in advance .