Q:

Why do C++ compilers need name mangling?

0

Why do C++ compilers need name mangling?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer : 

Name mangling is the rule according to which C++ changes function’s name into function signature before passing that function to a linker. This is how the linker differentiates between different functions with the same name.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C++ Interview Questions For Experienced

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What is typecasting in c++?... >>
<< What is the effect of extern “C” in C++?...