若有如下定义,则能输出字母M的语句是( )。structperson { charname[9];int age;};structperson Class[10]={"John",17, "Paul",19, "Mary",18, "Jack",19};
A. printf("%c\n",Class[3].name);
B. printf("%c\n",Class[3].name[1]);
C. printf("%c\n",Class[2].name[1]);
D. printf("%c\n",Class[2].name[0]);