答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
假定p为指向二维数组int d[4][6]的指针,则p的类型为( )。
①
int*
②
int**
③
int[6]
④
int(*)[6]
参考答案:
复制
纠错
相关题目
【判断题】
指向整型数据的指针类型表示为“int *”,读作“指向int的指针”或简称“int指针”。
①
正确
②
错误
查看完整题目与答案
【单选题】
假定指针变量p定义为“int *p=malloc(sizeof(int));”,要释放p所指向的动态存储空间,应调用的函数为?
①
free(p)
②
delete(p)
③
free(*p)
④
free(p)
查看完整题目与答案
【单选题】
假定指针变量p定义为“int *p=new int(100);”,要释放p所指向的动态内存,应使用语句( )。
①
delete p;
②
delete *p;
③
delete
④
delete []p;
查看完整题目与答案
【单选题】
假定指针变量p定义为“int *p=new int(100);”,要释放p所指向的动态内存,应使用语句( )。
①
delete p;
②
delete *p;
③
delete
④
delete []p;
查看完整题目与答案
【单选题】
假定一个二维数组的定义语句为“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
查看完整题目与答案
【单选题】
假定一个二维数组的定义语句为“int a[3][4]={{3,4},{2,8,6}};”,则元素a[1][2]的值为(???)。
①
2
②
4
③
6
④
8
查看完整题目与答案
随机题目
【单选题】
____ of them knew about the plan because it was a secret.
①
Some
②
Any
③
No one
④
None
查看完整题目与答案
【单选题】
At this stage we cannot tell you____ you have been selected for the job or not.
①
unless
②
although
③
whenever
④
whether
查看完整题目与答案
【单选题】
Our factory has ____ for years.
①
many fire equipments
②
much equipment of fire
③
many equipments of fire
④
much fire equipment
查看完整题目与答案
【单选题】
16. I took the medicine, but it didnt ____.
①
work
②
help
③
make
④
affect
查看完整题目与答案
【单选题】
The city ____ its birth-rate by almost 60% in the past 20 years.
①
cuts
②
has been cut
③
cut
④
has cut
查看完整题目与答案
【单选题】
?There are altogether fifty students in our class, twenty____ are boys. ?
①
of them ?
②
of those ?
③
of whom ?
④
of whose ?
查看完整题目与答案
【单选题】
They have built a____.?
①
bridge hundred meters ?
②
bridge a hundred meters long?
③
a hundred meters long bridge ?
④
bridge hundred meters long?
查看完整题目与答案
【单选题】
—You’ve given us a wonderful Chinese dinner, Mrs Huang.—____.
①
Oh, I’m afraid I didn’t cook well
②
I’m glad you enjoyed it
③
It’s not necessary for you to say so
④
It doesn’t matter
查看完整题目与答案
【单选题】
2. Everyone of them ____ tired and wanted a good rest.
①
seems
②
is seemed
③
was seemed
④
seemed
查看完整题目与答案
【单选题】
10. I am not a violent man ____, but these insults were more than I could bear.
①
by birth
②
with birth
③
by nature
④
with nature
查看完整题目与答案