网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
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=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[]={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 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
考题
若有定义语句: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 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
热门标签
最新试卷