Mark-sweep garbage collection in C language.