云衔科技是一家专注于数字化营销解决方案和SaaS软件服务的领先企业。公司凭借深厚的行业经验和专业技术能力,致力于为企业客户提供全方位、高效的数字广告代理与运营服务,以及定制化的SaaS软件解决方案。
【单选题】有如下事件过程: Sub () Show Dim Arr() As Arr = Array(1, 3, 5, 7, 9, 11, 13, 15) Call (Arr) For i = 0 To 7 Print arr(i); Next iEnd Sub 以上程序的功能是,通过调用过程,将数组Arr中的元素逆序存放并输出…
A.
Sub (dim a() as ) Dim T For i = (A) To (A) T = a(i) a(i) = a((A) – i) a((A) – i) = T Next i End Sub
B.
Sub (dim a() as ) Dim T Dim J As J = ((A) + (A)) / 2 For i = (A) To J T = a(i) a(i) = a((A) – i) a((A) – i) = T Next i End Sub
C.
Sub (a() As ) Dim T For i = (A) To (A) T = a(i) a(i) = a((A) – i) a((A) – i) = T Next i End Sub
D.
Sub (a() As ) Dim T Dim J As J = Int(((A) + (A)) / 2) For i = (A) To J T = a(i) a(i) = a((A) – i) a((A) – i) = T Next i End Sub
查看完整题目与答案