[单项选择题] 要对顺序文件进行写操作,下列打开文件语句中正确的是______。
A.Open"file1.txt" for Output As #1
B.Open "file1.txt" for Input As #1
C.Open "file1. txt" for Random As #1
D.Open "file1. tx",for Binary As #1
参考答案:
A问题解析:
Output为顺序输出模式,Input为顺序输入模式,Random为随机访问的模式,Binary为二进制访问模式。

![[单项选择题] 要对顺序文件进行写操作,下列打开文件语句中正确的是______。 [单项选择题] 要对顺序文件进行写操作,下列打开文件语句中正确的是______。](http://www.mshxw.com/aiimages/31/257410.png)
