柠檬试题库
search
首页
计算机
公务员
驾照
关于
share
窗体中有命令按钮Command1,事件过程如下: Public Function f(x As Integer) As Integer Dim y As Integer x=20 y=2 f=x * y End Function Private Sub Command1_Click() Dim y As Integer Static x As Integer x=10 y=5 y=f(x) Debug.Print x;y End Sub 运行程序,单击命令按钮,则立即窗口中显示的内容是( )。
A.10 5
B.10 40
C.20 5
D.20 40
热度🔥713
参考答案:D
解析:打开微信小程序查看本题解析
点击打开小程序查看解析
content_copy
扫码免费计算机二级刷题
2024年计算机等级考试题库
推荐
编译程序的最终目标是( )。
有以下程序段: #include int a, b, c; a=10; b=50; c=30; if (a>b) a=b, b=c; c=a; printf("a=%d b=%d c=%d\n", a, b, c); 程序的输出结果是( )。
如果把命令按钮的Cancel属性设置为True,则程序运行后( )。
下列各种情况中,一定不会引起进程调度的操作是
算法的空间复杂度是指( )。
标签
二级ACCESS
20
函数
as
integer