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

Can we use this pointer inside static member function?

630


explain the reference variable in c++?

580


What are the various access specifiers in c++?

603


What is pointer with example?

564


Can you sort a set c++?

532






Define the process of handling in case of destructor failure?

580


Can I make ios apps with c++?

562


What is doubly linked list in c++?

639


What is atoi in c++?

570


How do you master coding?

569


How do you invoke a base member function from a derived class in which you’ve overridden that function?

586


Can you write a function similar to printf()?

669


What is array in c++ pdf?

556


What is the role of C++ shorthand's?

681


Difference between inline functions and macros?

600