网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
假设有定义int a[]={10,20,30,40,50,60,70,80,90,100},*p=a;,则表达式*p+9的值为100。
参考答案和解析
91
更多 “假设有定义int a[]={10,20,30,40,50,60,70,80,90,100},*p=a;,则表达式*p+9的值为100。” 相关考题
考题
若有以下定义和语句: 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
考题
若有以下定义: char a;int b; float c;double d; 则表达式a*b+b-c值的类型为( )。A. floatSX
若有以下定义: char a;int b; float c;double d; 则表达式a*b+b-c值的类型为( )。A. floatB.intC.charD.double
考题
若有定义“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[ ]={1,2,3,4,5,6,7,8,9,10},* p=a; 则值为3的表达式是 ( )A.p+=2,* (pd+ +)B.p+=2,* + +pC.p+=3,* p+ +D.p +=2,+ + * p
考题
若有定义语句:“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
考题
若已定义 struct num{ int a; int b; float f; } n={1,3,5.0}; struct num *p=n; 则表达式p-b/n.a*++p-b的值是 ① ,表达式(*p).a+p-f的值是 ② 。
考题
若有以下定义 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
考题
问答题若已定义 struct num{ int a; int b; float f; } n={1,3,5.0}; struct num *p=n; 则表达式p-b/n.a*++p-b的值是 ① ,表达式(*p).a+p-f的值是 ② 。
热门标签
最新试卷