网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单击窗体时,下列程序的执行结果是 Private Sub Invert(By Val xstr As String,ystr As String) Dim tempstr AS String Dim I AS Integer I=Len(xstr) Do While I>=1 tempstr=tempstr + Mid(xstr,I,1) I=I - 1 Loop ystr=tempStr End Sub Private Sub Form_Click( ) Dim s1 As String,s2 As String S1="abcdef" Invert S1,S2 Print S2 End Sub
A.abcdef
B.afbecd
C.fedcba
D.defabc
参考答案
更多 “ 单击窗体时,下列程序的执行结果是 Private Sub Invert(By Val xstr As String,ystr As String) Dim tempstr AS String Dim I AS Integer I=Len(xstr) Do While I>=1 tempstr=tempstr + Mid(xstr,I,1) I=I - 1 Loop ystr=tempStr End Sub Private Sub Form_Click( ) Dim s1 As String,s2 As String S1="abcdef" Invert S1,S2 Print S2 End SubA.abcdefB.afbecdC.fedcbaD.defabc ” 相关考题
考题
下列程序执行后,输入结果是()。 For n = 3 To 1 Step - 1 x$ = String$(n,"#") Print x$ Next inA. 1# 2# 3# B. ### ## #C. # ## ### D. 3# 2# 1#
考题
单击窗体时,下列程序的执行结果是Private Sub Invert(ByVal xstr As String, ystr As String)Dim tempstr As StringDim I As IntegerI=Len(xstr)Do While I =1tempstr=tempstr + Mid(xstr, I, 1)I=I - 1Loopystr=tempstrEnd SubPrivate Sub Form_Click()Dim s1 As String, s2 As Strings1= "abcdef"Invert s1, s2Print s2End Sub( )。A.abcdefB.afbecdC.fedcbaD.defabc
考题
假定程序中有以下语句: answer=MsgBox("String1",,"String2","String3",2) 执行该语句后,将显示一个信息框,此时如果单击“确定”按钮,则answer的值为 ______。A.String1B.String2C.String3D.1
考题
假定程序中有以下语句: answer=MsgBox("Stringl",,"String2","String3",2) 执行该语句后,将显示一个信息框,此时如果单击“确定”按钮,则answer的值为: ______。A.String1B.String2C.String3D.1
考题
假定程序中有以下语句:_______。 answer=MsgBox("Stringl",,"String2","String3",2) 执行该语句后,将显示一个信息框,此时如果单击“确定”按钮,则answer的值为:_______。A.String1B.String2C.String3D.1
考题
假定程序中有以下语句: answer=MsgBox("Stringl",,"String2","String3",2) 执行该语句后,将显示一个信息框,此时如果单击“确定”按钮,则answer的值为: ______。A.String1B.String2C.String3D.1
考题
假定程序中有以下语句: answer=MsgBox("String1",,"String2","String31",2) 执行该语句后,将显示一个信息框,此时如果单击“确定”按钮,则answer的值为______。A.String1B.String2C.String3D.1
考题
下列程序的输出结果是( )。 include include"string.h" void main() {char a[]="He
下列程序的输出结果是( )。 #include<iostream.h> #include"string.h" void main() {char a[]="Hello Test",b[]="Test"; strcpy(a,b); cout<<a<<end1; }A.HelloB.TestC.Hello TestD.Hello Test HelloTest
考题
下列程序执行后的输出结果是 include main() { char arr[2][4]; strcpy(
下列程序执行后的输出结果是 #include<string.h> main() { char arr[2][4]; strcpy(arr, "you"); strcpy(arr[1], "me"); arr[0][3]=''; cout<<arr<<endl; }A.youmeB.youC.meD.err
热门标签
最新试卷