有以下定义和语句:struct stud {char name [10]; int age;} struct stud s, *ps; ps=&s; 则下面正确的语句是( )
A.s={″Mary″,30}
B.(*ps)→age=30
C.s.name=″Mary″
D.scanf(″%d″,&ps→age)
E.strcpy(ps→name,″Mary″)
出自:安阳师范学院计算机基础与程序设计