如果需要打开一个已经存在的非空文件“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+");

如果需要打开一个已经存在的非空文件”Demo”进行修改,下面正确的选项是( )

如果需要打开一个已经存在的非空文件“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");