KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
So if I understand well, Garbage collection automatically deallocates objects that are not used by the program anymore. like the garbage collector in java. I hear in languages like C that don't support garbage collection the programs can have memory leaks and subsequently exhaust the memory. So what are the errors that programmer make in languages like C that don't support garbage collection? I would guess not deallocating objects after they're not used anymore. But are these the only errors that we can make because of the lack of a garbage collector?
Tags (comma-separated)
Save Edits
Cancel