单选题

要对顺序文件进行写操作,下列打开文件语句中正确的是()

AOpen“file1.txt”ForBinaryAs#1

BOpen“file1.txt”ForRandomAs#1

COpen“file1.txt”ForInputAs#1

DOpen“file1.txt”ForOutputAs#1

正确答案

来源:www.examk.com

答案解析