Why do C++ compilers need name mangling?

Answer Posted / achal ubbott

It is by name mangling that a c++ compiler is able to
support function overloading.It is the way of
differentiating functions based on their name,number and
order and type of parameters. Unfortunately ISO has not set
any standard procedure for mangling names. So different c++
compiler vendors implement it in different ways.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is public, protected, private in c++?

767


How we can differentiate between a pre and post increment operators during overloading?

675


What is stream and its types in c++?

647


What is a try block?

725


Is linux written in c or c++?

664






Differentiate between an external iterator and an internal iterator?

661


What's c++ used for?

676


What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?

665


What are the various storage classes in C++?

749


Can we use pointers in c++?

696


Explain virtual destructor?

800


What is conditions when using boolean operators?

695


What is the main use of c++?

654


Why is c++ still used?

697


Can I learn c++ without c?

762