有如下定义:struct person { char name[9]; int age;};struct person class[10]={ " Johu", 17,"Paul", 19,"Mary", 18,"Adam",16};根据上述定义,能输出字母M 的语句是()。
A. prinft(" %c\n",class[3].name);
B. printf(" %c\n",class[3].name[1]);
C. prinft(" %c\n",class[2].name[1]);
D. printf(" %c\n",class[2].name[0]);
查看答案
已知有表示学生信息的结构体变量stu定义为:struct Date { int year, month, day; };struct Student{ int num; char name[20]; struct Date birth; };struct Student s,*ps=&s;将s中year成员赋值为1990的语句为_________________。
程序填空,输出链表中的数据。#define NULL 0#includestruct student{int num,score;struct student *next;};int main(){struct student s1,s2,s3,s4,*head,*p;s1.num =1001; s1.score =90;s2.num =1002; s2.score =40;s3.num =1003; s3.score =100;s4.num =1004; s4.score =50;(1);s1.next =&s2;s2.next =&s3;s3.next =&s4;s4.next =NULL;(2);while((3)){printf("%d %d\n",p->num,p->score);(4);}}
脊柱的运动主要在()
A. 颈椎与腰椎
B. 颈椎与胸椎
C. 仅有胸椎
D. 腰椎与骶椎
E. 骶椎与胸椎
浮髌试验主要用于检查()
A. 髌骨有无骨折
B. 膝关节滑膜炎
C. 关节腔积液
D. 膝腱反射
E. 膝关节活动度