Home »
MCQs »
C++ MCQs
C++ supports automatic garbage collection?
19. C++ supports automatic garbage collection?
- True
- False
Answer: B) False
Explanation:
C++ does not support automatic garbage collection. Here we need to free dynamically allocated memory using free() or delete. Otherwise, it may cause memory leaks.