网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

10、若有定义:int x[10]={0,1,2,3,4,5,6,7,8,9},*p1; 则数值不为3的表达式是 。

A.x[3]

B.p1=x+3,*p1++

C.p1=x+2,*(p1++)

D.p1=x+2,*++p1


参考答案和解析
p1=x+2;*(p1++);
更多 “10、若有定义:int x[10]={0,1,2,3,4,5,6,7,8,9},*p1; 则数值不为3的表达式是 。A.x[3]B.p1=x+3,*p1++C.p1=x+2,*(p1++)D.p1=x+2,*++p1” 相关考题
考题 若有以下定义int x[10],*pt=x;则对数组元素的正确引用是A)*x[10]B)*(x+3)C)*(pt+10)D)pt+3

考题 若有定义语句: int x=10; ,则表达式 x-=x+x 的值为A)-20B)-10C)0D)10

考题 (29)若有以下定义int x[10],*pt=x;则对x数组元素的正确应用是A)*x[10] B)*(x+3) C)*(pt+10) D)pt+3

考题 若有定义语句int b=2;,则表达式(b 若有定义语句int b=2;,则表达式(bA.4B.8C.0D.2

考题 若有定义:int a=7;float x=2.5,y=4.7;则表达式x+a%3*(int)(x+y)%2/4的值是A.2.500000B.2.750000C.3.500000D.0.000000

考题 若有定义语句:int x=3,y=2,z=1;则表达式x <y?x:y的值是______。

考题 若有以下定义 int a[]={1,2,3,4,5,6,7 }; char c1='b',c2='2'; 则数值不为2的表达式是( )。A.a[1]B.'d'-c1C.a['3'-c2]D.c2-0

考题 若有以下定义: int a[]={1,2,3,4,5,6,7); char cl='b',c2='2'; 则数值不为2的表达式是( )。A.a[1]B.'d'-c1C.a['3'-c2]D.c2-0

考题 若有定义“int x=10,y=3,z;”,则语句“cout<<(z=(x%y,x/y));”的输出结果是 _______。A.1B.0C.4D.3

考题 若有定义语句:“int a=10;double b=3.14;”,则表达式A+a+b值的类型是( )。A.charB.intC.doubleD.float

考题 若有定义:int x=1,y=2;float a=3.7,b=2.1;则(x+y)%2+(int)a/(int)b表达式的值为( )。

考题 若有定义语句:int X=10;,则表达式-x =x+X的值为A.-20B.-10C.0D.10

考题 若有定义:int a=2,b=3;floatx=3.5,y=2.5;则表达式(float)(a+b)/2+(int)x%(int)y的值是() A.3.5B.3.0C.2.5D.2.0

考题 若有定义:int x=3,y=4,z=5;则值为0 的表达式是() A.B.C.D.

考题 若有定义:int x=3,y=4;则表达式!x||y的值为() A.1B.0C.3D.4

考题 若有定义语句:int X=10;,则表达式x-=x+x的值为( )。A.0B.-20C.-10D.10

考题 若有如下定义: int x=3,y=2,Z; 则表达式Z=X/y*3.0的值是( )。A.2B.2C.3D.3

考题 若有定义语句:“int x=10;”,则表达式x-=x+x的值为( )。 A.-20B.-l0C.0 若有定义语句:“int x=10;”,则表达式x-=x+x的值为( )。A.-20B.-l0C.0D.10

考题 若有定义:floatx=3.5,y=3.6;则表达式()的值为6。A.(int)x+(int)yB.x+yC.(int)(x+y)D.int(x+y)

考题 若有int x=10;char c='d';则表达式a+c的值的类型是()。A.charB.intC.floatD.byte

考题 试题14若有定义语句:int a=10; double b=3.14; , 则表达式‘A’+a +b值的类型是()A.charB.intC.doubleD.float

考题 若有定义:int x=3,y=4;则表达式!x||y的值为()A、1B、0C、3D、4

考题 若有以下说明,int?a[12]={1,2,3,4,5,6,7,8,9,10,11,12};?则数值为4的表达式是()A、a[4]B、a(3)C、a[3+1]D、a[4]-a[0]

考题 若有定义intx=10;,则表达式x-=x+x的值为()A、-20B、-10C、0D、10

考题 单选题若有定义语句: int x=10; 则表达式x-=x+x的值为(  )。A -20B -10C 0D 10

考题 单选题若有int a[10]={0,1,2,3,4,5,6,7,8,9},*p=a;则输出结果不为5 的语句为()。A printf(%d,*p[5]);B printf(%d,p[5]);C printf(%d,*(p+5));D printf(%d,*(a+5));

考题 单选题若有定义语句:int a=10;double b=3.14;,则表达式'A'+a+b值的类型是(  )。A charB intC doubleD float

考题 单选题若有定义:int x=3,y=4;则表达式!x||y的值为()A 1B 0C 3D 4