Mastering C++: 2026 All-In-One Quiz – Ace 'Thinking in C++' with Comprehensive Practice!

Question: 1 / 565

What feature provides control over names in C++?

Inline functions

Templates

The static keyword and namespaces

The static keyword and namespaces in C++ help control naming by providing the ability to declare variables and functions to only be accessible within a particular scope or namespace. This allows for better organization and avoids potential naming conflicts. Inline functions and templates do not have this control over names. Polymorphism, while a powerful feature of C++, does not specifically address control over names. Therefore, the correct answer is C.

Get further explanation with Examzify DeepDiveBeta

Polymorphism

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy