根据下列的定义 能打印出字母P的语句是() struct stu {char name[10]; int age; }; stmct stu s[

计算机 语句,字母,定义 已帮助 人

根据下列的定义,能打印出字母P的语句是()

struct stu {char name[10];

int age;

};

stmct stu s[10]={"John",11,

"Paul",12,

"Mary",11,

"adam",12

}:

A.printf("%c",s[3].name);

B.printf("%c",s[3].name[1]);

C.printf("%c",s[2].name[11]);

D.printf("%c",s[1].name[0]);

热搜:主视图能反映出物体的哪四个面