单项选择题

有3×4的结构矩阵student,每个结构有name(姓名)、scores(分数)两个成员,其中scores是以1×5矩阵表示的5门课的成绩,那么要删除第4个学生的第2门课成绩,应采用的正确命令是()。

A.rmfield(student(1,2).scores(2))
B.rmfield(student(4).scores)
C.student(4).scores(2)=0
D.student(1,2).scores(2)=[]

热门 试题