Why do C++ compilers need name mangling?

Answer Posted / siva

Compilers need name mangling to support/implement function
overloading.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define a nested class. Explain how it can be useful.

838


What is the use of 'this' pointer?

1012


How do I start a c++ project?

784


If you don’t declare a return value, what type of return value is assumed?

730


Which bit wise operator is suitable for turning off a particular bit in a number?

849


How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?

764


What is the most common mistake on c++ and oo projects?

711


what you know about c++?

854


Can union be self referenced?

816


Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

1929


What do you mean by function and operator overloading in c++?

799


what is upcasting in C++?

924


How java is different from c and c++?

913


What is the outcome of cout< a) 16 b) 17 c) 16.5

770


What is an adaptor class in c++?

781