答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
若有定义:unionu_type{intx;floaty[3];charz;}a;则变量a的长度是()。
①
1
②
4
③
12
④
15
参考答案:
复制
纠错
相关题目
【单选题】
若有定义:structdata{chara;floatb[3];longc;}d1;则变量d1的长度是()。
①
15
②
12
③
4
④
17
查看完整题目与答案
【单选题】
若有定义:intx,a;赋值语句a=(x%3==0)?0:1;与()语句不等价。
①
if(x%3!=0)a=1;elsea=0;
②
if(x%3)a=0;elsea=1;
③
if(x%3==0)a=0;elsea=1;
④
if(!(x%3==0))a=1;elsea=0;
查看完整题目与答案
【单选题】
若有定义:intx=10,y=8,a;则执行语句a=((--x==y)?x:y);后,变量a的值是()。
①
8
②
9
③
10
④
0
查看完整题目与答案
【单选题】
若有定义:inta[3][4];则表达式a[2][1]-a的值为()。
①
7
②
8
③
9
④
10
查看完整题目与答案
【单选题】
若有定义:int a[3][4];则表达式&a[2][1]-a的值为()。
①
7
②
8
③
9
④
10
查看完整题目与答案
【单选题】
若有定义:int a[][3]={1,2,3,4,5,6,7,8};,则a数组的行数为()
①
无确定值
②
3
③
2
④
1
查看完整题目与答案
【单选题】
若有以下说明,int?a[12]={1,2,3,4,5,6,7,8,9,10,11,12};?则数值为4的表达式是()
①
a[4]
②
a(3)
③
a[3+1]
④
a[4]-a[0]
查看完整题目与答案
【单选题】
若有定义:int a[3][4],则对数组a 元素的正确引用是()。
①
a[2][4]
②
a[1,3]
③
a[2][3]
④
a[3][1]
查看完整题目与答案
【单选题】
已有定义:intx=3,y=4,z=5;则表达式!(xy)z-1&&yz/2的值是()
①
6
②
0
③
2
④
1
查看完整题目与答案
【单选题】
若已定义:intx=7;floaty=7.0;以下语句中能输出正确值的是()。
①
printf("%d%d",x,y);
②
printf("%d%.3f",x,y);
③
printf("%.3f%.3f",x,y);
④
printf("%.3f%d",x,y);
查看完整题目与答案
随机题目
【单选题】
____ is announced in the papers, our country has launched a large scale movement against smuggling and fraudulent activities in foreign currency exchange deals.
①
What
②
As
③
Which
④
That
查看完整题目与答案
【单选题】
The ____ crown jewels are kept in the Tower of London.
①
valued
②
valueless
③
invaluable
④
usable
查看完整题目与答案
【单选题】
Though ____ rich, she was better off than at any other period in her life.
①
by means of
②
within her means
③
by all means
④
by no means
查看完整题目与答案
【单选题】
You ____ that letter to James. However, you didn’t.
①
ought to write
②
ought to have written
③
should write
④
should be writing
查看完整题目与答案
【单选题】
She found herself____ forward more eagerly to the holiday at home.
①
looking
②
bringing
③
desiring
④
expecting
查看完整题目与答案
【单选题】
When Sarah and I ____ on an article for the school newspaper, we found it difficult to work together.
①
compiled
②
gathered
③
collaborated
④
collected
查看完整题目与答案
【单选题】
____ for a long time, the fields are all dried up.
①
There has been no rain
②
Having no rain
③
There having been no rain
④
There being no rain
查看完整题目与答案
【单选题】
Then Johnny reached quickly ______ the other pot, vigorously boiling on the stove.
①
down
②
out
③
for
④
to
查看完整题目与答案
【单选题】
The game was fixed for today but it has been____ for a week.
①
transfered
②
delayed
③
translated
④
postponed
查看完整题目与答案
【单选题】
Dr. Park was accused ____ the patient with overdose of sleeping pills so that the patient’s life was terminated before the expected time.
①
of providing
②
with providing
③
to have provided
④
to provide
查看完整题目与答案