How garbage is collected?

Answer:
C and C++ do not have a built in garbage collection. Garbage is not collected.

There are libraries that will impliment garbage collection for C and C++
First answer by Lnr729. Last edit by Lnr729. Contributor trust: 7 [recommend contributor recommended]. Question popularity: 53 [recommend question].