Question
Easy

Which of the following is not supported in C++?

1
Automatic garbage collection
2
Multiple inheritance
3
Smart pointer
4
Virtual destructor
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter: Computer System & Hardware Fundamentals
Topic: Computer System
Correct Answer
Option A
Explanation

The correct option is (1): Automatic garbage collection is the facility to automatically free up memory that is no longer being used by the program, typically managed by a language's runtime environment (like in Java or C\#). C++ adheres to a philosophy of low-level control and high performance, which dictates manual memory management. Programmers are explicitly responsible for allocating dynamic memory using new and deallocating it with delete. While modern…Read More

Which of the following - HTET Level 3 | Clear Cutoff