Answer Posted / achal ubbott
Here i tell how function overloading works. The point is
name mangling. Each c++ compiler follows an algorithm
called Name Mangling algorithm. Its job is to create
different symbols for functions. The mangled name of the
function would depend upon number,type and order of
function arguments. You can see these mangled names in the
assembly code. But C does not mangle function Names.
Unfortunately there is no ISO standard for name mangling.
So most c++ compilers do that in a different way
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is polymorphism what is it for and how is it used?
What is cohesion in oop?
What is encapsulation in oop?
Why do we use class?
#include
What are the three main types of variables?
What is difference between oop and pop?
What is polymorphism give a real life example?
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?
What is interface in oop?
Why we use classes in oop?
Why is object oriented programming so hard?
What is encapsulation example?
Why is there no multiple inheritance?
What are classes oop?