Home > Back-end >  Part C language pointer
Part C language pointer

Time:03-08

Does anyone know why the output is 8 n address has not changed, isn't it?
1 is how I feel?

CodePudding user response:

N the address is not changed, but the value of n changed ah,

CodePudding user response:

How can this code are 8
N=m;
(* p) + +;
N is not changed?
A00000: n address (value of A0000C)
.
.
.
A0000C: m starting address value 1
A00010: value 8

Function is introduced into n address address A00000
* p value type to int read content for A0000C then + + results for A00010 into A00000
N in address hasn't changed, changed to
Final result address: A00000: store content A00010 to results of 8
  • Related