网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
如果需要打开一个已经存在的非空文件“Demo"进行修改下面正确的选项是
A.fp=fopen("Demo","r");
B.fp=fopen("Demo","ab+");
C.fp=fopen("Demo","w+");
D.fp=fopen("Demo","r+");
参考答案
更多 “ 如果需要打开一个已经存在的非空文件“Demo"进行修改下面正确的选项是A.fp=fopen("Demo","r");B.fp=fopen("Demo","ab+");C.fp=fopen("Demo","w+");D.fp=fopen("Demo","r+"); ” 相关考题
考题
如果需要打开一个已经存在的非空文件“Demo”进行修改,下面选项中正确的是A.fp=fopen("Demo","r");B.fp=fopen("Demo","ab+");C.fp=fopen("Demo","w+");D.fp=fopen("Demo","r+");
考题
如果需要打开一个已经存在的非空文件“FILE”并进行修改,正确的语句是( )。A.fp=fopen("FILE","r");B.fp=fopen("FILE","a+");C.fp=fopen("FILE","w+");D.fp=fopen("FILE","r+");
考题
如果需要打开一个已经存在的非空文件"Demo"进行修改,下面选项中正确的是A.fp=fopen("Demo","r");B.fp=fopen("Demo","ab+");C.fp=fopen("Demo","w+");D.fp=fopen("Demo","r+");
考题
如果需要打开一个已经存在的非空文件“FILE”,并向文件尾添加数据,正确的打开语句是()。A.fp=fopen("FILE","r");B.fp=fopen("FILE","r+");C.fp=fopen("FILE","w+");D.fp=fopen("FILE","a+");
考题
如果需要打开一个已经存在的非空文件“Demo”进行修改,下面正确的选项是______。A.fp=fopen("Demo","r");B.fp=fopen("Demo","ab+");C.fp=fopen("Demo","w+");D.fp=fopen("Demo","r+");
考题
26、以下文件的打开方式,不能对文件进行读操作的是。A.f = open("demo.txt", "r")B.f = open("demo.txt", "x")C.f = open("demo.txt", "w+")D.f = open("demo.txt", "r+")
考题
要打开一个已存在的非空二进制文件“file”用于修改,选择正确的语句是A.fp=fopen("file","rb");B.fp=fopen("file","ab+");C.fp=fopen("file","wb");D.fp=fopen("file","rb+");
考题
如下打开文件"demo.dat"操作中,实现以读模式打开二进制文件的语句是A.fp=fopen("demo.dat","r");B.fp=fopen("demo.dat","wb");C.fp=fopen("demo.dat","rb");D.fp=fopen("demo.dat","a");
热门标签
最新试卷