CodePudding user response:
int * p=& amp; A [5]=a + 5 - & gt; A [5]=2;
P [2]=* (p - 2)=* (a + 5-2)=* (a + 3)=a [3]=54
Int * p=& amp; A [1]=a + 1 - & gt; A [1]=15
P [2]=* (p + 2)=* (a + 1 + 2)=* (a + 3)=a [3]=54
CodePudding user response:
int * p=& amp; A [5]=a + 5 - & gt; A [5]=2;
P [2]=* (p - 2)=* (a + 5-2)=* (a + 3)=a [3]=54
Int * p=& amp; A [1]=a + 1 - & gt; A [1]=15
P [2]=* (p + 2)=* (a + 1 + 2)=* (a + 3)=a [3]=54