struct Five{ char a; int b; char c[10]; double d;};int main(){ printf(''five的字节数为%d\n'',sizeof(five)); return 0;}正确答案是32。我画了两个内存结构图都没推出来。
字节对齐相关的知识点