D
D
Daniel2018-03-21 21:44:20
Programming
Daniel, 2018-03-21 21:44:20

How is memory freed after an object is deleted?

How exactly does the release of memory from an object work, what remains in its place, for example, an array of 100 int is destroyed, and after it other objects are already located, then when this array is taken by the garbage collector, I will have a hole of 400 bytes, but there will be no data move after it?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question