【简答题】
下列程序段的运行结果是 。 Private Sub Form_Click() Dim a(3) As Long a(0) = 1: a(1) = 2: a(2) = 3: a(3) = 4 j = 1 For i = 3 To 0 Step -1 s = s + a(i) * j j = j * 10 Next i Print s End Sub
参考答案:
参考解析:
举一反三
【简答题】写出程序运行的结果。 main() {int i,j,m,n; i=8; j=10; m=++i; n=j++; printf("%d,%d,%d,%d,"i,j,m,n); }