下列语句都是程序运行时的第1条输出语句,其中一条语句的输出效果与其他3条语句不同,该语句是( )。
A.cout<<internal<<12345;
B.tout<<left<<12345;
C.cout<<right<<12345;
D.tout<<setw(6)<<12345;
第1题:
有如下程序:
Private type stu
X as string
Y as integer
End type
Private Sub Command1_Click()
Dim a as stu
a.x=”ABCD”
a.Y=12345
print a
End Sub
程序运行时出现错误,错误的原因是
A)Type定义语句没有放在标准模块中
B)变量声明语句有错
C)赋值语句不对
D)输出语句print不对
第2题:
有如下程序:
Private Type stu
X As String
Y As Integer
End Type
Private Sub Command1 Click( )
Dim a As stu
X="ABCD"
Y=12345
Print a
End Sub
程序运行时出现错误,错误的原因是( )。
A.Type定义语句没有放在标准模块中
B.变量声明语句有错
C.赋值语句不对
D.输出语句Print不对
第3题:
下列语句都是程序运行时的第1条输出语句,其中一条语句的输出效果与其他三条语句不同,该语句是( )。
A.cout<<internal<<12345;
B.eout<<left<<12345;
C.cout<<right<<12345;
D.cout<<setw(6)<<12345;
第4题:
下列条件语句中,输出结果与其他语句不同的是( )
A.A
B.B
C.C
D.D
第5题:
下列语句都是程序运行时的第一条输出语句,其中一条语句的输出效果与其他三条语句不同,该语句是( )。
A.cout<<internal<<12345;
B.cout<<left<<12345;
C.cout<<right<<12345;
D.cout<<setw(6)<<12345;