皮皮学,免费搜题
登录
logo - 刷刷题
搜题
【简答题】
程序通过定义学生结构体变量,存储了学生的学号、姓名和三门课的成绩。所有学生数据均以二进制方式输出到文件中。函数fun的功能是从形参filename所指的文件中读入学生数据,并按照学号从小到大排序后,再用二进制方式把排序后的学生数据输出到filename所指的文件中,覆盖原来的文件内容。 请选择在下画线处填入正确的语句,使程序得出正确的结果。 #include #define N 5 typedef struct student { long sno; char name[10]; float score[3]; } STU; void fun(char *filename) { FILE *fp; int i, j; STU s[N], t; fp = fopen(filename, "r"); fread(s, sizeof(STU), N, fp); fclose(fp); for (i=0; i A. > B. < C. <= D. ==
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【多选题】市场调研的主要类型包括:
A.
探索性调研
B.
描述性调研
C.
因果性调研
D.
趋势性调研
【单选题】For the success of the project,the company should____the most of the opportunities at hand.
A.
obtain
B.
grasp
C.
catch
D.
make
【单选题】把课程比作“图纸”,则实施是一种工程。属于( )课程实施价值取向。
A.
忠实取向
B.
相互适应取向
C.
创生取向
D.
相互调适取向
【单选题】鞭虫病最常用的实验诊断方法为
A.
直接涂片法
B.
免疫诊断法
C.
肠粘膜活检
D.
透明胶纸法
【单选题】The company should submit the application
A.
either in the name of the firm or an individual person.
B.
in the name Of the firm.
C.
in the name of the individual.
【多选题】关于投资常识,需要小心什么?
A.
凡是宣称“无风险投资”的都要小心
B.
凡是给出过高的收益率的都要小心
C.
凡是需要发展下线的都要小心
【多选题】市场调研的主要类型包括()
A.
探索性调研
B.
实地调研
C.
描述性调研
D.
因果性调研
【多选题】市场调研的类型主要包括( )。
A.
探测性
B.
描述性
C.
因果性
D.
预测性
E.
非正式性
【判断题】4~63.磁路欧姆定律适应于只有一种媒介质的磁路。
A.
正确
B.
错误
【单选题】The Company should ensure that the Safety and Environmental Protection policy is implemented and maintained ______.
A.
at the level of ship based organization
B.
at the level of shore based organization
C.
at all levels of the organization both ship based as well as shore based
D.
at highest level of the organization
相关题目:
参考解析:
知识点:
题目纠错 0
发布
创建自己的小题库 - 刷刷题