根据下面的定义,能打印出字母M的语句是()
structperson{charname.[9];intage;};
structpersonclass[10]={"John",17,"Paulpt19,"Mary",18,"Adam",16};
A.printf("%C\n"class[3].name); B.printf("%C\n",class[3].name[1]); C.prinff("%C\n",class[2].name[1]); D.prinff("%C\n",class[2].name[0]);正确答案D