struct{int b;char c[10];double a;}st;sizeof(st)为什么是24,而不是22????
麻烦可不可以说下什么叫自然对齐???
你可以在百度搜下“struct自然对齐”看看就明白了,我就不在这赘述了