which one of the following is a correct way to create a file for both reading and writing using the function fopen?
A: "ab+"
B: "wb+"
C: "rb+"
D: "ab"
A: "ab+"
B: "wb+"
C: "rb+"
D: "ab"
举一反三
- Which one of the following is a correct way to create a file for both reading and writing using the function fopen ? A: "ab+" B: "wb+" C: "rb+" D: "ab"
- 若要用fopen函数时发生错误,则函数的返回值是()。 A: "ab+" B: "wb+" C: "rb+" D: "ab"
- 要打开一个已存在的非空二进制文件“file”用于修改,选择正确的语句是 。 A: fp=fopen("file","rb+"); B: fp=fopen("file","rb"); C: fp=fopen("file","ab+"); D: fp=fopen("file","wb");
- 若要用fopen函数建立一个新的二进制文件,既能读也能写,则正确的打开方式是()。 A: "ab+" B: "wb+" C: "rb+" D: "ab"
- 若要用fopen函数打开一个新的二进制文件,该文件要既能读也能写,则文件打开方式应该是( ) A: “ab+” B: “rb+” C: “wb+” D: “ab”