有如下定义:struct person { char name[9]; int age;};struct person class[10]={ " Johu", 17,"Paul", 19,"Mary", 18,"Adam",16};根据上述定义,能输出字母M 的语句是()。
A. prinft(" %c\n",class[3].name);
B. printf(" %c\n",class[3].name[1]);
C. prinft(" %c\n",class[2].name[1]);
D. printf(" %c\n",class[2].name[0]);