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

题目内容 (请给出正确答案)
单选题
若有定义:inta=2;则正确的赋值表达式是()
A

a-=(a*3)

B

double(-1)

C

a*3

D

a*4=3


参考答案

参考解析
解析: 暂无解析
更多 “单选题若有定义:inta=2;则正确的赋值表达式是()A a-=(a*3)B double(-1)C a*3D a*4=3” 相关考题
考题 若有形参定义:inta[10];则a++是合法的表达式。() 此题为判断题(对,错)。

考题 若有定义:inta;则scanf(“%d“,a);可以给变量a赋值。() 此题为判断题(对,错)。

考题 若有定义语句:inta=3,b=2,c=1;,则表达式b<b?a:b的值是______。

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

考题 若有定义inta=12;则表达式a+=a-=a*=a的值是-144。()

考题 若有定义inta=1,b=2;则表达式(a++)+(++b)的值是() A、3B、4C、5D、6

考题 若有定义int x,*pb;则正确的赋值表达式是()。 A.pbB.int a[2] [ ]{1,2,3,4,5,6};C.int a[ ] [3]{1,2,3,4,5,6};D.int a[2,3]{1,2,3,4,5,6}

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

考题 若有定义inta=12,n=5,则表达式a%=(n%2)运算后,a的值()。A.0B.1C.12D.6

考题 若有定义:“inta=4,b=5;floatx=3.4,y=2.1;”,则下列表达式的值为( )。 A.5.5B.55 若有定义:“inta=4,b=5;floatx=3.4,y=2.1;”,则下列表达式的值为( )。A.5.5B.55C.5.500000D.55.00000

考题 若有定义:intx,*pb;则正确的赋值表达式是( )。A.B.C.D.A.AB.BC.CD.D

考题 若有定义inta[][3]={1,2,3,4,5,6,7,8,9};则表达式sizeof()/sizeof(a[0])的值为() A.3B.4C.5D.9

考题 若有定义:inta[3][3];则表达式&a[2][1]-a的值为() A.7B.8C.6D.9

考题 若有定义:inta=2;则正确的赋值表达式是() A.a-=(a*3)B.double(-1)C.a*3D.a*4=3

考题 若有定义“int k,*q;”,则下列各选项中,赋值表达式正确的是( )。A.q=(k+1)B.q=kC.q=kD.*q=k

考题 若有定义“inta=5,b=7;”,则表达式a%=(b%2)运算后,a的值为( )。A.0B.1C.11SX 若有定义“inta=5,b=7;”,则表达式a%=(b%2)运算后,a的值为( )。A.0B.1C.11D.3

考题 若有定义:inta;且表达式!a的值为0,则表达式()的值为1。A.!(a0)B.a!=0C.a==0D.a=0

考题 若有定义:inta;,则表达式()不能用来判断a值为奇数是“真”,偶数是“假”。A.a%2==1B.!(a%2)C.a%2D.!(a%2==0)

考题 若有定义:intb=-15;,则()为正确的赋值表达式。A.b=*5B.*b=6C.b+=b*3D.b+10=-5

考题 若有定义inta[][3]={1,2,3,4,5,6,7,8,9};则表达式sizeof()/sizeof(a[0])的值为()A、3B、4C、5D、9

考题 若有以下定义:inta[5]={1,2,3,4,5};则a[2]=()

考题 若有定义语句:inta[10]={1,2,3,4,5,6,7,8,9,10};charc=“a”;则值为4的合法表达式是()A、a[4]B、a[’d’-’c’]C、a[’d’-c]D、a[100.0-c]

考题 若有定义:inta[5]={1,2,3,4,5};charb=’c’,c;,则下面表达式中数值为2的是()A、a[2]B、a[c-b]C、a[b]D、a[b-’b’]

考题 若有定义inta=3,b=2,c=1;,以下选项中错误的赋值表达式是()A、a=(b=4)=3B、a=b=c+1C、a=(b=4)+cD、a=1+(b=c=4)

考题 若有定义:inta=2;则正确的赋值表达式是()A、a-=(a*3)B、double(-1)C、a*3D、a*4=3

考题 单选题若有定义:inta[3][3];则表达式a[2][1]-a的值为()A 7B 8C 6D 9

考题 单选题若有定义inta[][3]={1,2,3,4,5,6,7,8,9};则表达式sizeof()/sizeof(a[0])的值为()A 3B 4C 5D 9