若有以下定义:int a[]={3,4,5,6,7,8,9,10,11},*p=a; 则值为5的表达式是( ).
A)p+=5,*(p+1)\x05\x05B)p+=1,* ++p\x05\x05C)p+=4,*p++\x05\x05D)p+=1,++ *p
人气:138 ℃ 时间:2019-11-12 12:00:21
解答
B怎么解出来街等于Bp+=1;p=a[1];(++p) = a[2]*取值,等于5
推荐
- 若有以下定义,“int a[10]={1,2,3,4,5,6,7,8,9,10},*p=a”,则值为6的表达式是
- 6. 如果有以下定义:int a[10]={1,2,3,4,5,6,7,8,9,10},*p=&a[7];则表达式*p++的值是多少?
- 定义int a[ ]={1,2,3,4,5,6},*p=a;表达式(*++p)++的值是________.
- 若有定义:int b=7;float a=2.5,c=4.7;则下面的表达式 a+(int)(b/3*(int)(a+c)/2)%4 的值
- 若有以下定义,则能使值为3的表达式是 int k=7,x=12;
- 鱼虱子为什么能浮在水面上?请用物理知识回答.
- 味觉和嗅觉感受器均感受什么信息,两者相互影响形成味觉
- After having been wounded towards the end of the war,he had been sent to hospital and was separated from his unit.
猜你喜欢