若要用fopen打开一个新的二进制文件,该文件要既能读也能写,则文件方式字符串应是()。A.“ab+”B
若要用fopen打开一个新的二进制文件,该文件要既能读也能写,则文件方式字符串应是()。
A.“ab+”
B.“wb+”
C.“rb+”
D.“ab”
若要用fopen打开一个新的二进制文件,该文件要既能读也能写,则文件方式字符串应是()。
A.“ab+”
B.“wb+”
C.“rb+”
D.“ab”
第1题
若fp已正确定义为一个文件指针,d1.dat为二进制文件,请填空,以便为
“读”而打开此文件:fp=fopen(______);。
第2题
若fp已下确定义为一个文件指针,d1.dat 为二进制文件,请填空,以便为“读”而打开此文件:fp= fopen(【 】);。
第3题
若fp已正确定义为—‘个文件指针,d1.dd为二进制文件,请填空,以便为“读”而打开此文件:fp=fopen(______);。
第4题
A.FILE *FP; FP=fopen("fil2","r");
B.FILE *FP; FP=fopen("fil2","rb");
C.FILE *FP; FP=fopen("fil2","wb+");
D.FILE *FP; FP=fopen("fil2","rb+");
第5题
A.FILE *FP; FP=fopen("r", "file1");
B.FILE *FP; FP=fopen("file1","r");
C.FILE *FP; FP=fopen("rb+”, "file1");
D.FILE *FP; FP=fopen("file1", "rb+");
第6题
A.FILE*in;in=fopen("c:/c/data.txt","r");
B.FILE*in;in=fopen("c://c//data.txt","r");
C.FILE*in;in=fopen("c://c//data.txt","a+");
D.FILE*in;in=fopen("c://c//data.txt","r+");
第10题
A、fp=fopen(“file“,“r“);
B、fp=fopen(“file“,“w“);
C、fp=fopen(“file“,“r+“);
D、fp=fopen(“file“,“w+“);