Ace Your C++ Skills 2025 – Rock the ‘Thinking in C++’ Challenge!

Question: 1 / 565

Why doesn't C++ include a built-in garbage collector?

To reduce language complexity

Because automatic memory management is inefficient

To give programmers more control over efficiency

C++ doesn't include a built-in garbage collector in order to give programmers more control over efficiency. While A and D are both possible reasons, they're not the primary reason why C++ lacks a built-in garbage collector. B, on the other hand, is incorrect because manual memory management is considered more efficient.

Get further explanation with Examzify DeepDiveBeta

Garbage collection was deemed unnecessary by the language designers

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy