填空题
若fp已正确定义为一个文件指针,d1.dat为二进制文件,请填空,以便为“读”而打开此文件:fp=fopen
(
【20】
);
【参考答案】
“d1.dat”,“rb”或“d1.dar”,“r+b”或“d1.dar”,“rb+”
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
下面程序的运行结果是: 【19】 。 typedef union student char name[10]; long sno; char sex; float score[4]; STU; main() STU a[5]; Printf(“%d n”,sizeof(a));
点击查看答案&解析
填空题
以下程序运行后的输出结果是 【11】 。 void fun(int x,int y) x=x+y;Y=x-y;x=x-y; printf(“%d,%d”,x,y); main() int x=2,y=3; fun(x,y); printf(“%d,%d n”,x,y);
点击查看答案&解析
相关试题
有以下程序 main() unsigned char,a...
有以下程序 #include<stdlib.h> main...
有以下程序 int f(int n) if(n==...
有以下程序 float fun(int x,int y)...
以下程序中函数sort的功能是对a所指数组中...