柠檬试题库
search
首页
计算机
公务员
驾照
关于
share
下列数组声明语句中,正确的是
A.Dim a[3,4] As Integer
B.Dim a(3,4) As Integer
C.Dim a(n,n) As Integer
D.Dim a[3,n] As Integer
热度🔥276
参考答案:B
解析:
【解析】在VBA中数组声明的格式为:Dim 数组名(维数定义) as 类型,声明数组用圆括号,如果定义多维数组时,维数之间用逗号分隔。
复制题目向AI提问
content_copy
content_copy
扫码免费计算机二级刷题
2025年计算机等级考试题库
推荐
有以下程序: # include typedef struct { int b, p; } A; void f(A c) /* 注意:c是结构变量名 */ { int j; c.b += 1; c.p+=2; } main() { int i; A a={1,2}; f(a); printf("%d,%d\n", a.b, a.p); } 程序运行后的输出结果是( )。
若有以下程序 #include main() { int a=0,b=0,c=0; c= (a -= ++a), (a+=b, b+=4); printf("%d,%d,%d\n",a,b,c); } 则程序的输出结果是
有以下程序 #include void fun ( int n ,int *s ) { int f; if( n==1 ) *s = n+1 ; else { fun( n-1, &f) ; *s = f ; } } main() { int x =0; fun( 4,&x ); printf("%d\n",x); } 程序运行后的输出结果是
下列叙述中不属于三层B/S结构数据库应用系统特点和操作特征的是( )
标签
二级ACCESS
数组
as
dim
integer