选择题
定义结构体(联合)数组:
struct stu
{int num;
char name[20];
}x[5]={1,'ZHAO',2,'QIAN',3,'SUN',4,'LEE',5,'ZHOU'};
for(i=1;i<5;i++)
printf('%d%c',x[i].hum,x[j].name[2]);
其输出结果为______。
A、
2A3N4E50
B、
1H213U4E
C、
1A2N3E40
D、
1A2N3E50
【正确答案】
A
【答案解析】
提交答案
关闭