C++ Programming Question: Download C++ Programming PDF

When does a name clash occur in C++?

Tweet Share WhatsApp

Answer:

A name clash occurs when a name is defined in more than one place. For example., two different class libraries could give two different classes the same name. If you try to use many class libraries at the same time, there is a fair chance that you will be unable to compile or link the program because of name clashes.

Download C++ Programming PDF Read All 120 C++ Programming Questions
Previous QuestionNext Question
Differentiate between a template class and class template in C++?Define namespace in C++?