填空题 C语言
题号 #150466

设有以下结构体类型: 
struct st 
{ char name[8]; 
int num; 
float s[4]; 
}student[50]; 
并且结构体数组student中的元素都已有值,若要将这些元素写到硬盘文件fp中,请将以下fwrite语句补充完整: 
fwrite(student,【20】,1,fp);

进入在线模考

参考答案

暂无

答案解析

sizeof(struct st)*50

你可能感兴趣的试题

找试题 · 找答案 · 找资料 在线模考