CodePudding user response:
Use for statement come, may cross a line and call you outCodePudding user response:
Actually computer after each byte of physical memory has values and is read/write, never because of the so-called new, delete or malloc, free and is created and destroyed, the difference only lies in the operating system memory management module can find when you read and write and whether to take appropriate action, and the granularity of the operating system manages memory rather than bytes page, a page is usually 4 KB,CodePudding user response:
An array is undefined behavior operation, undefined behavior may be no problem, do not recommend operating cross-border data,CodePudding user response:
I generally described this way:The equivalent of you stole a thing without being caught,