【单选题】
若定义如下结构,则能打印出字母M的语句是()。structperson{charname[9];intage;};structpersonclass[10]={"Wujun",20,"Liudan",23,"Maling",21,"zhangming",22};
①
printf("%c\n",class[3].name);
②
printf("%c\n",class[2].name[0]);
③
printf("%c\n",class[2].name[1]);
④
printf("%c\n",class[3].name[1]);
【单选题】
<img title=21.png alt=21.png src=https://huaweicloudobs.ahjxjy.cn/4E6AC22F0A20AA343D3FF7D00853E9B5.png/>
①
<img title=21-1.png alt=21-1.png src=https://huaweicloudobs.ahjxjy.cn/AD808A288F152366C0642F9536784F8E.png/>
②
<img title=21-2.png alt=21-2.png src=https://huaweicloudobs.ahjxjy.cn/A4427BF593D3976F31765F5218F54216.png/>
③
<img title=21-3.png alt=21-3.png src=https://huaweicloudobs.ahjxjy.cn/38CCD8683621CF9352212275673FB9DB.png/>
④
<img title=21-4.png alt=21-4.png src=https://huaweicloudobs.ahjxjy.cn/6D9DCD8F64FC8718D5ED4CB462D420CC.png/>