根据下述定义,可以输出字符'A'的语句是()。structperson{charname[11];struct{charname[11];intage;}other;};structpersonman[10]={{"Jone",{"Paul",20}},{"Paul",{"Mary",18}},{"Mary",{"Adam",23}},{"Adam",


根据下述定义,可以输出字符'A'的语句是()。structperson{charname[11];struct{charname[11];intage;}other;};structpersonman[10]={{"Jone",{"Paul",20}},{"Paul",{"Mary",18}},{"Mary",{"Adam",23}},{"Adam",{"Jone",22}}};

A.printf("%c",man[2].other.name[0]);

B.printf("%c",other.name[0]);

C.printf("%c",man[2].(*other[0]));

D.printf("%c",man[3].name);

正确答案:A


Tag:C语言程序设计基础 语句 字符 时间:2021-11-28 15:14:00