• 2022-06-09
    若要用只读方式打开d:\a.txt文件,则需要执行()
    A: FILE *fp;fp=fopen(d:\a.txt,r);
    B: FILE *fp;fp=fopen(d:\\a.txt,r);
    C: FILE *fp;fp=fopen(d:\a.txt,r+);
    D: FILE *fp;*fp=fopen(d:\a.txt,w)