-->
当前位置:首页 > 题库 > 正文内容

Multiple choice:The statement that can output the letter M is

Luz3年前 (2021-05-10)题库324
The statement that can output the letter M is
struct person { char name[10]; int age; };
struct person class[10]={ "Johu",17,
"Paul",19,
"Mary",18,
"Adam",16,
};
@[D](2)
A. printf("%c \n", class[2].name[1] );
B. printf("%c \n", class[3].name[1] );
C. printf("%c \n", class[3].name[0] );
D. printf("%c \n", class[2].name[0] );




A.printf("%c \n", class[2].name[1] );
B. printf("%c \n", class[3].name[1] );
C. printf("%c \n", class[3].name[0] );
D.printf("%c \n", class[2].name[0] );


answer:D

发表评论

访客

◎欢迎参与讨论,请在这里发表您的看法和观点。