Describe functional overloading?

Answer Posted / rasool

Ningu, its not necessary that the functions 'must' differ
in the :No of parameters passed
:order of the parameter passed
:the type of the parameter.

say, I have a function Add(int a , int b)
I still can have a function Add(int*a,int*b).

Function overloading is type of polymorphism in C++.i.e
multiple forms of the same function(methods).Function
overloading comes under compile time polymorphism.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is c++ difficult?

686


Write bites in Turbo c++ Header ("Include") Files.

775


How do you master coding?

672


What is the difference between a declaration and a definition?

664


Is turbo c++ free?

703






Differentiate between the manipulator and setf( ) function?

701


Mention the ways in which parameterized can be invoked. Give an example of each.

674


what does the following statement mean? int (*a)[4]

700


What is a pdb file?

632


How can an improvement in the quality of software be done by try/catch/throw?

678


What are formatting flags in ios class?

698


What is an inclusion guard?

740


Is map sorted c++?

618


What is meant by the term name mangling in c++?

608


What is c++ coding?

759