运行下列程序后输出的结果是()
structcountry
{intnum;
charname[20];
}x[5]={1,"China",2,"USA",3,"France'/,4,"England",5,"Spanish"};
structcountry*p;
p=x+3;
printf("%d,%c",p->num,(*p).name[2);
A.3,a B.4,g C.2,U D.5,S正确答案B
num,(*p).name[2);">
运行下列程序后输出的结果是()
structcountry
{intnum;
charname[20];
}x[5]={1,"China",2,"USA",3,"France'/,4,"England",5,"Spanish"};
structcountry*p;
p=x+3;
printf("%d,%c",p->num,(*p).name[2);
A.3,a B.4,g C.2,U D.5,S正确答案B