有以下程序 struct stu { char num[10];float score[3]; }; main() { struct stu s[3]={{"20021",90,95,85},{"20022",95,80,75},{"20023",100,95,90}},*p=s; int i;float sum=0; p++; for(i=0;i<3;i++)sum=sum+p->score[i]; printf("%6.2f\n",sum); }程序运行后的输出结果是______。
A. 260
B. 270
C. 250
D. 285
查看答案
已知学生记录描述为 struct student { int no; char name[20]; char sex; struct { int year; int month; int day; } birth; }; struct student s;变量s中的“生日”应是“1985年4月4日”,下列对“生日”的正确赋值方式是______。
A. year=1985;month=4;day=4;
B. birth.year=1985;birth.month=4;birth.day=4;
C. s.year=1985;s.month=4;s.day=4;
D. s.birth.year=1985;s.birth.month=4;s.birth,day=4;
若患者有高血压,长期服用药物史,最可能诊断为
A. 药物性牙龈增生
B. 慢性牙周炎
C. 增生性龈炎
D. 白血病的牙龈病损
E. 牙龈纤维瘤病
患者,男,24岁,诉右下后牙冷热刺激痛夜间痛3天。检查,右下第三磨牙近中低位阻生,右下78之间较多的食物嵌塞,右下8未探及龋坏,远中有肓袋略红肿,触疼痛。冷(-)。探及右下7远中颈部龋,探深,质软,冷刺激引发剧痛。
主诉牙拟诊
A. 右下8冠周炎
B. 右下7急性根尖炎
C. 右下78牙周炎
D. 右下7急性牙髓
E. 右下8近中低位阻生
有以下说明和定义语句 struct student {int age;char num[8]; }; struct student stu[3]={{20,"200401"},{21,"200402"},{10\9,"200403"}}; struct student*p=stu;以下选项中引用结构体变量成员的表达式错误的是______。
A. (p++)->num
B. p->num
C. *p.num
D. stu[0].age