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

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

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

A.a[a[3]]

B.a[5]

C.a[a[4]]

D.a[a[5]]


参考答案和解析
1020
更多 “5、若有定义: int a[ ]={1,2,3,4,5,6,7,8,9,10};, 则值为5的表达式是:A.a[a[3]]B.a[5]C.a[a[4]]D.a[a[5]]” 相关考题
考题 若有定义语句: int a=5; ,则表达式: a++ 的值是 【 6 】 。

考题 若有以下说明: int a[10]={1,2,3,4,5,6,7,8,9,10},,*p=a;则值为6的表达式是( )。A.*p+6 B.*(p+6) C.*p+=5 D.p+5

考题 若有定义:int a=4,b=5;float x=3.4,y=2.1;,则下列表达式的值为( )(float) (a+b)/2+(int)×%(int)yA.5.5B.55C.5.500000D.55.00000

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

考题 若有以下说明: int a[10]={1,2,3,4,5,6,7,8,9,10},*p=a; 则值为6的表达式是_______。A.*p+6B.*(p+6)C.*p+=5D.p+5

考题 若有以下定义和语句: int a[]={1,2,3,4,5,6,7,8,9,10},*p=a; 则值为3的表达式是______。A.p+=2,*(p++)B.p+=2,*++pC.p+=3,*p++D.p+=2,++*p

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

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

考题 若有定义:int i=2,j=5;则表达式(i+1,j+1,(++i+(j--))的值为() A.8B.6C.7D.5

考题 若有定义:int a,b;则表达式(a=2,b=5,a*2,b++,a+b)的值是() A.7B.8C.9D.10

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

考题 若有定义:int a=4, b=5;float x=3.4,y=2.1;,则下列表达式的值为( )。 (float) (a+b)/2+(int)x%(int)yA.5.5B.55C.5.5D.55

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

考题 若有以下的定义, int a[ ]={1,2,3,4,5,6,7,8,9,10},*p=a;则值为3的表达式是 ______。A.p+=2,*(p++)B.p+=2,*++pC.p+=3,*p++D.p+=2,++*p

考题 若有int x[]={1,2,3,4,5,6,7,8,9,10},*p=x;则值为4的表达式是 ______。A.p+=2,*(p++)B.p+=2,*++pC.p+=3,*p++D.p+=2,++*p

考题 若有定义:int i=1,j=5;则表达式(++j)*(i--)的值为()A、1B、0C、6D、7

考题 若有定义:int i=2,j=5;则表达式(i+1,j+1,(++i+(j--))的值为()A、8B、6C、7D、5

考题 若有定义:int a,b;则表达式(a=2,b=5,a*2,b++,a+b)的值是()A、7B、8C、9D、10

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

考题 若有定义int a=5,b=7;则表达式(a++)+(++b)的值是()。A、11B、12C、13D、14

考题 若有定义语句: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]

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

考题 单选题若有定义int a=5,b=7;则表达式(a++)+(++b)的值是()。A 11B 12C 13D 14

考题 单选题若有定义:int i=2,j=5;则表达式(i+1,j+1,(++i+(j--))的值为()A 8B 6C 7D 5

考题 单选题若有定义:int i=1,j=5;则表达式(++j)*(i--)的值为()A 1B 0C 6D 7

考题 单选题若有以下定义      int a〔 〕={1,2,3,4,5,6,7,8,9,10),*p=a;    则值为3的表达式是()A p+=2,*(p++)B p+=2,*++pC p+=3,*p++D p+=2,++*P

考题 单选题若有定义语句: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]

考题 单选题若有定义“int x=4,y=5;”,则表达式“yx++?x--:y++”的值为(  )。A 3B 4C 5D 6