若有如下定义语句, 则变量w 在内存中所占的字节数是 。 union aa{float x; char c[6];}; struct st{union aa v; float w[5]; double ave;}w;
举一反三
- 若有以下说明和定义语句,变量w在内存中所占的字节数是______。 struct st float w[5];double ave;w;
- p>若有以下说明和定义语句,则变量w在内存中所占的字节数是____。[br][/br]unionaa{[spanstyle="white-space:pre"][/]floatx;[spanstyle="white-space:pre"][/]charc[6];};structst{[spanstyle="white-space:pre"][/]unionaa;[spanstyle="white-space:pre"][/]floatw[5];[spanstyle="white-space:pre"][/]doubleave;}w;</p
- 设有定义Struct stud{ char num[6];int s[4];double ave;} a,则变量a在内存所占字节数是 ______
- 设有以下变量定义语句:char w; int x; float y; double z;则表达式“w*x-z+y”的结果类型为()类型? A: float B: int C: double D: char
- 若有以下结构类型说明和变量定义,则变量a在内存所占字节数是____。struct stud{ char num[6];int s[4];double ave;} a,*p;