This is my personal collection of interview questions. Answers are not provided for many of them but can easily be found through online research. Good luck! :)
Saturday, 23 June 2012
Why do C++ compilers need name mangling?
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 (overloaded functions).
No comments:
Post a Comment