答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
对动态数组a(),若原数组为a(3),若要改为a(6)时,为保证数组原来的数据不丢失,应使用下列( )语句进行定义。
①
ReDim a(6)
②
Dim a(6)
③
ReDim a(3 To 6)
④
ReDim Preserve a(6)
参考答案:
复制
纠错
相关题目
【单选题】
语句Dim t(6,-3 to 5)As Integer定义的数组元素有( )个。
①
45
②
54
③
40
④
63
查看完整题目与答案
【单选题】
语句Dim t(2 to 6,-3 to 5)As Integer定义的数组元素有( )个。
①
45
②
54
③
40
④
11
查看完整题目与答案
【单选题】
语句Dim t(-2 to 6)As Integer定义的数组元素有( )个。
①
6
②
7
③
8
④
9
查看完整题目与答案
【判断题】
数组a的定义:int a[5][3]={{1,3},{5},{5,6,8}};则该数组共有6个元素。
①
正确
②
错误
查看完整题目与答案
【单选题】
若有定义:int a[][3]={1,2,3,4,5,6,7,8};,则a数组的行数为()
①
无确定值
②
3
③
2
④
1
查看完整题目与答案
【单选题】
假定一个二维数组的定义语句为“int a[3][4]={{3,4},{2,8,6}};”,则元素a[2][1]的值为?
①
0
②
4
③
6
④
8
查看完整题目与答案
【单选题】
假定一个二维数组的定义语句为“int a[3][4]={{3,4},{2,8,6}};”,则元素a[1][2]的值为?
①
2
②
4
③
6
④
8
查看完整题目与答案
【单选题】
假定一个二维数组的定义语句为“int a[3][4]={{3,4},{2,8,6}};”,则元素a[1][2]的值为?
①
2
②
4
③
6
④
8
查看完整题目与答案
【单选题】
假定一个二维数组的定义语句为“int a[3][4]={{3,4},{2,8,6}};”,则元素a[2][1]的值为( )。
①
0
②
4
③
8
④
6
查看完整题目与答案
【单选题】
假定一个二维数组的定义语句为“int a[3][4]={{3,4},{2,8,6}};”,则元素a[2][1]的值为(???)。
①
0
②
4
③
8
④
6
查看完整题目与答案
随机题目
【单选题】
We have studied English for only one year, ____ we can perform English short play already.?
①
for ?
②
and ?
③
yet ?
④
or?
查看完整题目与答案
【单选题】
With the old man ____ the way, we had no trouble in finding that mysterious cave.
①
leading
②
led
③
lead
④
to be led
查看完整题目与答案
【单选题】
How can he ____if he is not ____?
①
listen--hearing
②
hear--listening
③
be listening--heard
④
be hearing--listened to
查看完整题目与答案
【单选题】
Lily: Hello, John! What was the weather like yesterday?John: ____
①
I like nice and bright weather.
②
You don’t like cold weather, do you?
③
That was a favorable weather.
④
Nice and bright, not too cold.
查看完整题目与答案
【单选题】
10. Far away around the corner I could see a small female ____advancing towards us.
①
body
②
figure
③
man
④
symbol
查看完整题目与答案
【单选题】
It is often more difficult to find trained men than ____ for scientific research.
①
getting financial support
②
to getting financial support
③
to get financial support
④
in getting financial support
查看完整题目与答案
【单选题】
“Here is the money I promised,” he said. “I always ____ promises.”
①
agree
②
follow
③
make
④
keep
查看完整题目与答案
【单选题】
This advertisement is a ____ example of their marketing plan.
①
social
②
typical
③
natural
④
historical
查看完整题目与答案
【单选题】
The earth ____ heat and light from the sun.
①
takes on
②
takes in
③
absorbs in
④
picks out
查看完整题目与答案
【单选题】
—When ____ the show ____?—It begins at 7 o’clock this evening.
①
does--begin
②
will--begin
③
is--beginning
④
is--going to begin
查看完整题目与答案