5、运行下列程序段,输出结果是 ( ) struct country{ int num; char name[10]; }x[5]={1,"China",2,"USA",3,"France",4, "England",5, "Spanish"}; #include "stdio.h"void main(){ struct country *p; p=x+2; printf("%d, %c
",p->num,(*p).name[2]);}
选项:
3,a|4,g|2,U|5,S
发布时间:2024-06-08 23:08:38