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

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

设有定义:inta[3][4]={{1,2,5,3},{2,4,7,9},{3,6,5,8}};,则表达式a[1][2]+a[2][3]的值9。


参考答案

更多 “设有定义:inta[3][4]={{1,2,5,3},{2,4,7,9},{3,6,5,8}};,则表达式a[1][2]+a[2][3]的值9。” 相关考题
考题 设有:inta[][3]={{1,0,3},{3,4},{5,6,7}};,则a[2][1]的值是() A.3B.5C.6D.4

考题 设有定义下列: int a=1,b=2,c=3,d=4,m=2,n=2; 则表达式(m=a>b)(n=c>d)运算后,n的值是( )。A.4B.3C.2D.0

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

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

考题 设有如下定义和声明:struct3{inta;structs*next};structsx[4]={1,x[1],3, x[2],5, struct s *next }; struct s x[4]={1,x[1],3, x[2],5,x[3],7,'\0'),*t; t=x[0]; 则下列表达式值为2的是( )A.++t->aB.(*t).a++C.t->a++D.t++->a

考题 若有定义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[3][4]={{1,2},{0},{1,2,3}};则a[1][1]的值为() A.0B.{1,2}C.1D.3

考题 若有定义:inta[5]={1,2,3,4,5};则语句a[1]=a[2]+a[2+2]-a[3-1];运行后a[1]的值为() A.6B.5C.1D.2

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

考题 若有定义“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=1,b=2,c=3,d=4,m=2,n=2;则表达式(m=a>B) (n=c>D) 运算后,n的值是( )。A.4B.3C.2D.0

考题 设有如下定义,则执行表达式(nFa>b)(n=c>d)后,n的值为______。 int a=1,b=2,c=3,d=4,m=2,n=2;A.1B.2C.3D.0

考题 设有定义:intk=3,*p=则表达式*p的值是( )。 A.1B.0C.2D.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

考题 设有如下定义:inta=4;则计算表达式“a+=a-a*a”后的值是()。A、-60B、0C、2D、-8

考题 设有以下定义: inta[4][3]={1,2,3,4,5,6,7,8,9,10,11,12}; int(*ptr)[3]=a,*p=a[0]; 则下列能够正确表示数组元素a[1][2]的表达式是()。A、*((*ptr+1)[2])B、*(*(p+5))C、(*ptr+1)+2D、*(*(a+1)+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=2;则正确的赋值表达式是()A、a-=(a*3)B、double(-1)C、a*3D、a*4=3

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

考题 单选题设有如下定义:inta=4;则计算表达式“a+=a-a*a”后的值是()。A -60B 0C 2D -8

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

考题 单选题若有定义:inta[3][4]={{1,2},{0},{1,2,3}};则a[1][1]的值为()A 0B {1,2}C 1D 3

考题 单选题设有以下定义: inta[4][3]={1,2,3,4,5,6,7,8,9,10,11,12}; int(*ptr)[3]=a,*p=a[0]; 则下列能够正确表示数组元素a[1][2]的表达式是()。A *((*ptr+1)[2])B *(*(p+5))C (*ptr+1)+2D *(*(a+1)+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[3][3];则表达式a[2][1]-a的值为()A 7B 8C 6D 9