设有以下结构类型,并且结构数组student中的元素都已有值,若要将这些元素写到硬盘文件fp中,以下形式错误的是structst{charname[8];intnum;floats[4];}student[50];
A.
fwrite(student, 25 * sizeof(struct st), 25, fp);
B.
fwrite(student, sizeof(struct st), 50, fp);
C.
fwrite(student, 50 * sizeof(struct st), 1, fp);
D.
for (i = 0; i < 50; i++) fwrite(student, sizeof(struct st), 1, fp);