题目内容
(请给出正确答案)
[主观题]
若有int a=1,b=2;则表达式a>b?a:b++的值是______,b的值是______。
答案
查看答案
第1题
A.*a[1]+3
B.*(*(p+1)+3)
C.a[2][1]
D.p[1][3]
第3题
A.*w[1]+1
B.p++,*(p+1)
C.w[2][2]
D.p[1][1]
第4题
若有定义:int b=7;float a=2.5,c=4.7;则表达式a+(int)(b/3*(int)(a+c)/2)%4的值为______。
第5题
若有如下定义: int x=2,y=3,z=4; 则表达式!(x=y)||x+z&&y-z的值是【 】。
第6题
若有定义:int a=7;float x=2.5,y=4.7;则表达式x+a%3*(int)(x+y)%2/4的值是
A.2.500000
B.2.750000
C.3.500000
D.0.000000
第7题
若有定义:“int a=7;float x=2.5,Y=4.7;"则表达式x+a 9/6 3*(int)(x+y)% 2/4的值是()。
A.2.500000
B.2.750000
C.3.500000
D.0.000000
第8题
若有以下定义和语句,则通过指针p对值为8的数组元素的引用表达式是______。
int a[10]={1,2,3,4,5,6,7,8,9),*p;
p=&a[1];
第10题
若有以下定义和语句,则通过指针p对值为8的数组元素的引用表达式是______。
int a[10]={1,2,3,4,5,6,7,8,9),*p;
p=&a[1];