[填空題] 單擊命令按鈕后,下列程序代碼的執(zhí)行結(jié)果是______ 。 Public Sub fun (Byval a () As Integer) Stat
2021-07-20
[填空題] 單擊命令按鈕后,下列程序代碼的執(zhí)行結(jié)果是______ 。 Public Sub fun (Byval a () As Integer) Static n As Integer Do a(n) = a (n) + a(n + 1) n = n + 1 Loop While n < 3 End Sub Private Sub command1_ click() Dim m As Integer, n As Integer, a(10) As Integer For n = 0 To 2: a(n) = n + 1: Next n For n = 1 To 2: Call fun(a): Next n For n = 0 To 3: Print a(n): Next n End Sub
正確答案:編譯錯誤
詞條內(nèi)容僅供參考,如果您需要解決具體問題
(尤其在法律、醫(yī)學(xué)等領(lǐng)域),建議您咨詢相關(guān)領(lǐng)域?qū)I(yè)人士。