Mastering C++: A Comprehensive Quiz Based on 'Thinking in C++'

Disable ads (and more) with a membership for a one time $2.99 payment

Test your C++ skills with our quiz based on Bruce Eckel's 'Thinking in C++'. Dive into object-oriented programming, advanced topics, and fundamentals. Perfect for learners and experts alike. Assess your knowledge and become a C++ master!

Practice this question and more.


What is NOT a goal or feature of C++ as described?

  1. Backward compatibility with C

  2. Automatic garbage collection

  3. Practicality and efficiency

  4. External libraries easy use

The correct answer is: Automatic garbage collection

C++ does not have automatic garbage collection because it aims to give the programmer control over memory management. This allows for more efficient and practical code. Backward compatibility with C is a key feature of C++ as it allows for easy integration with existing C code. Easy use of external libraries is also a goal of C++, as it allows for additional functionality to be easily incorporated into a program. However, automatic garbage collection is not a goal or feature of C++. Instead, C++ prioritizes performance and control over memory management.