经典指数          
原因
2097
浏览数
0
收藏数
 

在32位系统环境,编译选项为4字节对齐,那么sizeof (A)和sizeof (B)是______。
struct  A
{
    int a;
    short b;
    int c;
    char d;
};

struct B
{
    int a;
    short b;
    char d;
    int c;
}

  • 16,16
  • 13,12
  • 16,12
  • 11,16

     举报   纠错  
 
切换
暂时还没有答案,欢迎分享你的解答 . . .
撰写答案