根据下面的定义,能输出Marry的语句是: struct person{ char name[9]; int age; }; struct person class[5]={"John",17,"Paul",19,"Marry",18,"Adam",16};
A.
printf("%s\n",class[0].name);
B.
printf("%s\n",class[1].name);
C.
printf("%s\n",class[2].name);
D.
printf("%s\n",class[3].name);