题目内容

有定义如下:struct info{char name[20];int age;};struct info class[6]={"Zhang",17,"Wang",19,"Mao",18,"liu",16};则,执行printf("%c\n",class[3].name);语句后,将输出字母M。

A. 对
B. 错

查看答案
更多问题

以下代码定义结构体数组date,它共有10个元素,每一个元素的数据类型都是int型。struct{int year;int month;int day;}date[10];

A. 对
B. 错

If the production costs fall and the selling price remains the same, the profit margin will increase.

A. 对
B. 错

If the production costs fall and the selling price increases, the profit margin will increase.

A. 对
B. 错

If the production costs rise and the selling price remains the same, the profit margin will increase.

A. 对
B. 错

答案查题题库