设有以下说明和定义:#include<iostream. h>Void main() {typedef union{long i; int k[5]; char c;}DATE;struct date{iNt cat; DATE cow; double.

admin2009-01-15  22

问题 设有以下说明和定义:#include<iostream. h>Void main() {typedef union{long i; int k[5]; char c;}DATE;struct date{iNt cat; DATE cow; double. dog;}too;DATE max;则下列语句的执行结果是(    )。cout<<(sizeof(struct date)+sizeof(max))<<end1;}

选项 A、26
B、52
C、18
D、8

答案2

解析
转载请注明原文地址:https://kaotiyun.com/show/Yckp777K
0

最新回复(0)