若需要打开一个已经存在的非空文件“file”并进行修改,则正确的打开语句是()。
A:fp=fopen(“file”,“r”);
B:fp=fopen(“file”,“ab+”);
C:fp=fopen(“file”,“w+”);
D:fp=fopen(“file”,“r+”);
出自:考研