Home > Back-end >  Pointer refers to address, such as int pointer, but the memory unit is 1 byte, and that the int poin
Pointer refers to address, such as int pointer, but the memory unit is 1 byte, and that the int poin

Time:03-06

Pointer refers to address, such as int pointer, but the memory unit is 1 byte, and that the int pointer refers to the address of the first of four bytes?

CodePudding user response:

Always want to use 4 bytes, if the point type is a byte, points to a continuous four bytes, therefore, may cause the program run is not correct or collapse

CodePudding user response:

So to understand, but must pay attention to the size of end

CodePudding user response:

If your so-called "first" minimum value refers to the address of the bytes, then you were right.
  • Related