下面语句中能够打开随机文件的是( )。

admin2019-04-29  21

问题 下面语句中能够打开随机文件的是(    )。

选项 A、Open "file.txt" For Random As #1
B、Open "file.txt" For Input As #1
C、Open "file.txt" For Output As #1
D、Open "file.txt" For Append As #1

答案A

解析 打开随机文件的一般格式为Open“文件名”For Random As #文件号[Len=记录长度]。
转载请注明原文地址:https://kaotiyun.com/show/VnUp777K
0

最新回复(0)