+ 1
Pointer
int x = 5; int *p = &x; x = x + 4; x = *p + 4; *p = *p + 4; ———————————— Why *p == x ?
1 Answer
+ 1
cause *p access the value of x using address of x as it's value!
int x = 5; int *p = &x; x = x + 4; x = *p + 4; *p = *p + 4; ———————————— Why *p == x ?