Como o preenchimento funciona na estrutura?
A saída deste programa é 28. Eu não entendo como? Segundo a mim isso deve ser 32 (4 + 4 + 4 + 4 + 12) +4 (para manter o alinhamento) = 32. Por favor, explique o motivo para exibir a saída 28 ??
struct test{
char c;
int d;
int x;
int y;
long double p;
}t1;
printf("%d",sizeof(t1));