Is there any heap compaction in C/C++?
I want to know if the runtime provided by GNU for C/C++ does any heap compaction? Or in other words, if the address of objects stored in pointers or long can ever change?
If yes, then does any responsibility come on the programmer because of this?
|