找考题网-背景图
单项选择题

A. If the file exists it will be opened for editing. If……

Which of the following will occur if an operator types the command vi file.out?()

A. If the file exists it will be opened for editing. If the file does not exist an error message will be displayed.
B. If the file exists it will be opened for editing. If the file does not exist a new file with the name file.out will be created and opened for editing.
C. If the file exists an error message will be displayed. If the file does not exist a new file with the name file.out will be created and opened for editing.
D. If the file exists the operator will be asked whether to open the file or overwrite the file. If the file does not exist a new file with the name file.out will be created and opened for editing.