Integer variable, is a variable, the corresponding address is&; Integer variable, the address is the value of integer variable.
Comparative architecture:
The integer variable A is distributed in room 302, and the value of A is placed in room 302, such as 100 yuan;
Integer pointer variable ap, assigned in room 305, if ap points to A (use AP = &;; Allocation), the room 305 stores the address 302. You get this address through ap, and then go to Room 302 to get 100 yuan.
Theme:
The address of a is 0x7ffcb5ef7 170.
This address is placed in the ap, so the value of the ap is 0x7ffcb5f7170.
int p = & ampa;
Is the address of A (a number, also a number, but generally much larger than an integer), converted into a positive number (high-order missing) and stored in P, and 0x7ff is the number of high-order missing addresses. If p is long, some machines can get all the address numbers, so there is no such difference.