When does a name clash occur?

Answer Posted / atul shankhwar

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.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the role of the c++ in the tradeoff of safety vs. Usability?

724


Why are pointers not used in c++?

637


What are references in c++? What is a local reference?

580


How does a C++ structure differ from a C++ class?

632


Differentiate between the manipulator and setf( ) function?

606






What is the meaning of string in c++?

581


What are iterators in c++?

604


What is meant by forward referencing and when should it be used?

569


Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?

651


What is main function in c++ with example?

574


If there are two catch statements, one for base and one for derived, which should come first?

587


What are the two types of comments?

583


When should I use unitbuf flag?

598


What is one dimensional array in c++?

592


How can you say that a template is better than a base class?

592