C++ Programming Question:

Download Job Interview Questions and Answers PDF

When does a name clash occur in C++?

C++ Programming Interview Question
C++ Programming Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
Differentiate between a template class and class template in C++?Define namespace in C++?