Bosses, use malloc for ten int address, why after the tenth still have the address?
CodePudding user response:
First, you need to understand that the address is consistent, whether you use useless, as if the hard disk is ok for you, don't pull down, there he was, this is the computer's make good when producing, as for you to carry out the malloc and other statements, you just tell the computer, this paragraph of memory you are using, and then make a pointer to a memory address, and then you can be operated by the pointer Operations, such as For example, now have the technology of data recovery, the principle is the basis of using the computer will not delete the information actively, will only sentence with useless, useful as a tag, So when writing the list need to pay attention to security issues such as memory leaks,
CodePudding user response:
Is not consistent
CodePudding user response:
A + I just an addition And the same 1 + 1
CodePudding user response:
C language does not check whether the array subscript crossing the line,