[二级VB试题天天练]VB考试试题2

发布时间:2019-02-04 19:05:11

1.下面是一个用户自定义程序的调用的例子: 
Option Explicit
Private Sub Command1_Click()
   Dim strS1 As String
   Dim strS2 As String
   strS1 = "ABCDEFG"
   MySub strS1, strS2
   Print strS2
End Sub
Private Sub MySub(ByVal str1 As String, str2 As String)
   Dim strT As String
   Dim i As Integer
   For i = Len(str1) To 1 Step -1
        strT = strT   Mid(str1, i, 1)
   Next
   str2 = strT
End Sub
问:程序运行后,“print”语句的输出结果是什么?
阅读更多其他试题,请访问生活日记网 用日志记录点滴生活!考试试题频道。
喜欢考试试题,那就经常来哦

该内容由生活日记网提供.