有以下程序
#include
main()
{
struct STU { char name[9]; char sex; double score[2]; };
struct STU a={"Zhao", 'm', 85.0, 90.0}, b={"Qian", 'f', 95.0, 92.0};
b=a;
printf("%s,%c,%2.0f,%2.0f\n", b.name, b.sex, b.score[0], b.score[1]);
}
程序的运行结果是
- A.Qian,m,85,90
- B.Zhao,m,85,90
- C.Zhao,f,95,92
- D.Qian,f,95,92
热度🔥419
解析:打开微信小程序查看本题解析