0
1
2
3
第1题:
若有定义:“inta=4,b=5;floatx=3.4,y=2.1;”,则下列表达式的值为( )。
A.5.5
B.55
C.5.500000
D.55.00000
第2题:
A.3
B.4
C.5
D.9
第3题:
A.6
B.5
C.1
D.2
第4题:
若有定义“inta=5,b=7;”,则表达式a%=(b%2)运算后,a的值为( )。
A.0
B.1
C.11
D.3
第5题:
若有定义:inta=3;,语句a+=a-=a*a;运行后a的值为()。
A.-3
B.-6
C.-12
D.0
第6题:
若有定义:inta[3][3];则表达式&a[2][1]-a的值为()
第7题:
若有定义:inta[5]={1,2,3,4,5};则语句a[1]=a[2]+a[2+2]-a[3-1];运行后a[1]的值为()
第8题:
若有定义inta[][3]={1,2,3,4,5,6,7,8,9};则表达式sizeof()/sizeof(a[0])的值为()
第9题:
若有定义:inta=2;则语句a=strcmp("miss","miss");运行后a的值为()
第10题:
1
0
-1
2
第11题:
3
4
5
9
第12题:
0
{1,2}
1
3
第13题:
A.1
B.0
C.-1
D.2
第14题:
A.7
B.8
C.6
D.9
第15题:
A.0
B.1
C.2
D.3
第16题:
若有定义:inta;且表达式!a的值为0,则表达式()的值为1。
A.!(a0)
B.a!=0
C.a==0
D.a=0
第17题:
若有定义:floatx=2,y;inta=3;语句y=1*(x+A./3;运行后,y的值为()。
A.2.0
B.1.0
C.0
D.1.666667
第18题:
若有定义:inta[3][4]={{1,2},{0},{1,2,3}};则a[1][1]的值为()
第19题:
若有定义:inta[3]={0,1,2};则a[1]的值为()
第20题:
若有以下定义:inta[5]={1,2,3,4,5};则a[2]=()
第21题:
若有定义:inta=2;则正确的赋值表达式是()
第22题:
7
8
6
9
第23题:
6
5
1
2
第24题:
0
1
2
3