若要打开A盘上user子目录下名为abc.txt的文本文件进行读、写操作,下面符合此
题型:单项选择题
问题:
若要打开A盘上user子目录下名为abc.txt的文本文件进行读、写操作,下面符合此要求的函数调用是
A.fopen(“A:\user\abc.txt”,“r”)
B.fopen(“A:\\user\\abc.txt”,“r+”)
C.fopen(“A:\user\abc.txt”,“rb”)
D.fopen(“A:\user\\abc.txt”,“w”)
若要打开A盘上user子目录下名为abc.txt的文本文件进行读、写操作,下面符合此要求的函数调用是
A.fopen(“A:\user\abc.txt”,“r”)
B.fopen(“A:\\user\\abc.txt”,“r+”)
C.fopen(“A:\user\abc.txt”,“rb”)
D.fopen(“A:\user\\abc.txt”,“w”)