Explain how garbage collection works in programming. | Infosys Interview Question | Practice Free | SkillVee