问题
单项选择题
设有以下说明和定义:
#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))<<endl;
A.26
B.52
C.18
D.8
答案
参考答案:B