如果需要打开一个已经存在的非空文件"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+");
如果需要打开一个已经存在的非空文件“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+");
若要对E盘上的一个非空文件“w 1.dat”进行修改,正确的打开语句是( )。 A.fp=fopen(“w 1.dat”,“r+”);B.fp=fopen(“w 1.dat”,“w+”);C.fp=fopen(“E:\\w 1.dat”,“r+”);D.fp=fopen(“E:\\w 1.dat”,“w+”);
如果需要打开一个已经存在的非空文件“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+");
要打开一个已存在的非空二进制文件“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");