#include<stdio.h>
struct A
{
    char        c;
    double      e;
    int         s;
}A;
int main()
{
    printf("%u\n", sizeof(A));
    return 0;
}
It is giving output 16. Shouldn't it be 24 if we consider structure internal padding and structure padding as a whole?
I am compiling the code on Ubuntu 14.04 32 bit with GCC 4.8.2.