What address does the pointer point to? Why does the integer pointer add 1 and then convert it into int type plus 4?
What does the pointer point to the address output mean? -I don't understand this sentence. The pointer points to the address where the corresponding variable is stored. Because in compilers such as VC, the integer variable (int) takes up 4 bytes, so the pointer points to the address after adding 1, for example: int a, * p1; p 1 = & amp; a; Since p 1 points to the address of A, it is assumed that the address is p1= 0x21000; It takes 4 bytes to store data A, so the data of A is stored at addresses 0x2 1000, 0x2 100 1, 0x2 1002, 0x2 1003, and at this time, p1; It will be p1= 0x21004;