Home > Back-end >  Pointers and arrays of exercises
Pointers and arrays of exercises

Time:05-09

Refer to these two problems

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
  • Related