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.
第1题:
如果在表达式++x/y中,++是作为友元函数重载的,/是作为成员函数重载的,则该表达式还可为
A.(operator++(x) ) .operator/(y)
B.(operator++(0) ) .operator/(y)
C.operator/((operator++(x,0) ) ,y)
D.operator/((operator++(0) ) ,y)
第2题:
That sound doesn’t _____ in his language so it’s difficult for him to pronounce.
[A] happen
[B] take place
[C] occur
[D] run
第3题:
第4题:
窗体上有3个按钮Commandl、Command2和Command3,如以下代码: Private Sub Commandl Click() Command2.Enabled:Fal3e Command3.Vi3ible=Fal3e End Sub 该程序的功能是 ( )
A.当单击按钮Command1时, Command2和Command3按钮不可用
B.当单击按钮Command1时, Command2和Command3按钮不可见
C.当单击按钮Command1时, Cammand2按钮不可用和Command3按钮不可见
D.当单击按钮Command1时, Command2按钮不可见和Command3按钮不可用
第5题:
[A] occur
[B] engage
[C] confront
[D] encounter
第6题: