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