根据以下定义,能打印出字母M的语句是( )struct person{char name[10];int age;};struct person class[10]={ “John”,17, “Paul”,19, “Mary”,18, “Adam”,18};
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]);