问题遇到的现象和发生背景
假设sizeof(int)为4,sizeof(char)为1,sizeof(double)为8,已知: union { int i; char c; double d; }test; 则sizeof(test)为
(A)13;
(B)8;
(C)16;
(D)4;
假设sizeof(int)为4,sizeof(char)为1,sizeof(double)为8,已知: union { int i; char c; double d; }test; 则sizeof(test)为
(A)13;
(B)8;
(C)16;
(D)4;