Timeline for answer to how free() works? by Chris Lutz
Current License: CC BY-SA 3.0
Post Revisions
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 20, 2020 at 9:12 | history | edited | CommunityBot |
Commonmark migration
|
|
| Aug 10, 2011 at 8:04 | comment | added | Chris Lutz | @Mr.32 - No. Accessing memory after you free it is undefined behavior. The compiler is legally allowed to make your code do anything (the usual joke is nasal demons: [catb.org/jargon/html/N/nasal-demons.html]) if you do so. | |
| Aug 10, 2011 at 7:58 | comment | added | Jeegar Patel | one more thing in any case m i able to access those memory which i have freed.? | |
| Aug 10, 2011 at 7:56 | vote | accept | Jeegar Patel | ||
| Aug 10, 2011 at 7:49 | vote | accept | Jeegar Patel | ||
| Aug 10, 2011 at 7:55 | |||||
| Aug 10, 2011 at 7:23 | history | answered | Chris Lutz | CC BY-SA 3.0 |