struct structData1
{
int i;
char ch;
double d;
short s;
float f;
long l;
};
sizeof(struct structData1)=(4+1+3空)+(8)+(2+4+2空)+(4+4空)=32
struct structData2
{
short int s1;
char ch1;
short int s2;
char ch2;
};
sizeof(struct structData2)=(2)+(1+1空)+(2)+(1+1空)=8
struct structData3
{
int s1;
char ch1;
short int s2;
char ch2;
};
sizeof(struct structData3)=(4)+(1+2+1空)+(1+3空)=12
本文来源:https://www.wddqw.com/doc/eef788687dd5360cba1aa8114431b90d6c858921.html
正在阅读:
例6.601-01
浅谈读社会主义从空想到科学发展有感01-01
作文:美丽的桃花01-01
[适龄孕妈也需警惕“唐氏宝宝”]唐氏综合征孕妈表现01-01
便利店员工每日工作流程01-01
(完整版)应急预案演练效果评估报告01-01
任命通知书范文01-01
求情信01-01