题目:
单击一次命令按钮后,下列程序的执行结果是( )。 Private Sub Command1_Click() s=P(1) +P(2) +P(3) +P(4) Print s End Sub Public Function P(N As Integer) Static Sum For i=1 To N Sum=Sum+i Next i P=Sum End Function
A.1 1 * #
B.1 1 * #
C.1 1 * #1 1 * # 1 2 * #
D.1 1 * #1 1 * ## 1 2 * ##
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0618/e9fb7d23c6f91ba4177a7d4ffec55637.html
下面是错误答案,用来干扰机器的。
参考答案:C