[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fQIptyO76oWFKu9xVtE0thkQtHbQm3WmnRdCfRGX5_do":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":31,"type":32},[],"2024-04-16 12:54:46",138611940,[8,9,10,11],"(*p).num","p-&gt;num","(p++)-&gt;num","stu[3].age",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},20,"a23fff6dad13adc952ec813e3c6ef0e1","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F20bc9985fc1832dd27ee1e48430a7f1a.jpg","C语言程序设计2","work_34317546","结构9-2作业","有以下说明和定义语句. struct student {int age; char num[8]; }; struct student stu[3]={{20,&quot;20041&quot;},{21,&quot;20042&quot;},{19,&quot;20043&quot;}}; struct student *p=stu; 以下选项中,引用结构体变量成员的表达式错误的是()",[21,33,43,53,61,71,80,89,92,102],{"answer":22,"createTime":23,"id":24,"options":25,"question":30,"source":31,"type":32},[],"2024-04-16 12:54:39",138611920,[26,27,28,29],"printf(&quot;%c\\n&quot;,class[2].name[1])","printf(&quot;%c\\n&quot;,class[2].name[0])","printf(&quot;%c\\n&quot;,class[3].name[0])","printf(&quot;%c\\n&quot;,class[3].name[1])","有如下定义: struct person{char name[9];int age;}; struct person class[10]={&quot;John&quot;,17,&quot;Paul&quot;,19,&quot;Mary&quot;,18,&quot;Adam&quot;,16,}; 根据上述定义,能输出字母M的语句是()","v1",0,{"answer":34,"createTime":35,"id":36,"options":37,"question":42,"source":31,"type":32},[],"2024-04-16 12:54:41",138611922,[38,39,40,41],"20","11","10","21","有以下程序: #include &lt;stdio.h&gt; struct S {int a,b;}data[2]={10,100,20,200}; main() {struct S p=data[1]; printf(&quot;%d\\n&quot;,++p.a); } 程序运行后的输出结果是()",{"answer":44,"createTime":45,"id":46,"options":47,"question":52,"source":31,"type":32},[],"2024-04-16 12:54:43",138611925,[48,49,50,51],"580 550","550 580","680 680","580 680","以下程序运行后的输出结果是(). struct STU {char name[10]; int num; int score; }; main() {struct STU s[5]={ {&quot;YangSan&quot;,20041,703}, {&quot;LiSiGuo&quot;,20042,580}, {&quot;WangYin&quot;,20043,680}, {&quot;SunDan&quot;,20044,550}, {&quot;Penghua&quot;,20045,537} },*p[5],*t; int i,j; for(i=0;i&lt;5;i++)p[i]=&amp;s[i]; for(i=0;i&lt;4;i++) for(j=i+1;j&lt;5;j++) if(p[i]-&gt;score&gt;p[j]-&gt;score) {t=p[i];p[i]=p[j];p[j]=t;} printf(&quot;%d %d\\n&quot;,s[1].score,p[1]-&gt;score); }",{"answer":54,"createTime":55,"id":56,"options":57,"question":60,"source":31,"type":32},[],"2024-04-16 12:54:44",138611930,[58,10,8,59],"p=&amp;stu.age","p++","若有以下程序段,则使用错误的选项是(). struct student { int num; int age; }; struct student stu[3]={{1001,20},{1002,19},{1004,20}}; main(); { struct student *p; p=stu; &hellip; ; }",{"answer":62,"createTime":63,"id":64,"options":65,"question":70,"source":31,"type":32},[],"2024-04-16 12:54:45",138611934,[66,67,68,69],"13,14","11,12","14,1l","12,13","有以下程序: #include struct ord {int x,y;}dt[2]={11,12,13,14}; main(){ struct ord *p=dt; printf(&quot;%d,&quot;,++p-&gt;x);printf(&quot;%d\\n&quot;,++p-&gt;y); } 程序运行后的输出结果是()",{"answer":72,"createTime":5,"id":73,"options":74,"question":79,"source":31,"type":32},[],138611936,[75,76,77,78],"q=(struct sk*)&amp;data.m","q=(struct sk*)data.m","*q=data.m","q=&amp;data.m","设有如下定义: struct sk {int m; float x; }data,*q; 若要使q指向data中的m域,正确的赋值语句是()",{"answer":81,"createTime":5,"id":82,"options":83,"question":88,"source":31,"type":32},[],138611938,[84,85,86,87],"SunDan 20044","SunDan 20042","YangSan 20041","LiSiGuo 20042","有以下程序 #include struct STU {char name[10]; int num; }; void f(char *name,int num) {struct STU s[2]={{&quot;SunDan&quot;,20044},{&quot;Penghua&quot;,20045}}; num=s[0].num; strcpy(name,s[0].name); } main(){struct STU s[2]={{&quot;YangSan&quot;,20041},{&quot;LiSiGuo&quot;,20042}},*p; p=&amp;s[1];f(p-&gt;name,p-&gt;num); printf(&quot;%s%d\\n&quot;,p-&gt;name,p-&gt;num); } 程序运行后的输出结果是()",{"answer":90,"createTime":5,"id":6,"options":91,"question":19,"source":31,"type":32},[],[8,9,10,11],{"answer":93,"createTime":94,"id":95,"options":96,"question":101,"source":31,"type":32},[],"2024-04-16 12:54:47",138611942,[97,98,99,100],"p=(struct sk*)data.a","p=&amp;data.a","*p=data.a","p=(struct sk*)&amp;data.a","设有如下定义:struct sk{int a;float b;}data,*p; 若要使p指向data中的a域,正确的赋值语句是()",{"answer":103,"createTime":104,"id":105,"options":106,"question":111,"source":31,"type":32},[],"2024-04-16 12:54:49",138611944,[107,108,109,110],"(*p).age","student.age","p-&gt;age","stud1.age","若有以下说明,则对结构体变量stud1中成员age的不正确引用是(). struct student {int age;int num; }stud1,*p; p=&amp;stud1"]