CodePudding user response:
Choose D, * p=a [0]=1,* (p + 3)=a [4]=4
* (p + 3) +=2 - & gt; A [4] + 2=4 + 2=6
CodePudding user response:
The subscript wrong:* (p + 3)=a [3]=4, * (p + 3) +=2 - & gt; A [3] + 2=4 + 2=6
CodePudding user response:
Is there any change in first look at the p points to, * (p + 3) +=2; Equivalent [3] + p=2; So these statements do not do to p needs to change, so * p p [0], which is 1So from B and D choose one
* (p + 3) p [3], the [3] + p=2; So it is 4 + 2=6
The answer is obvious