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

Write a program to find the Fibonacci series recursively.

618


What would happen on forgetting [], while deallocating an array through new?

641


What is the use of bit fields in structure declaration?

546


How did c++ start?

618


Which programming language should I learn first?

583






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

690


How does c++ structure differ from c++ class?

598


What is #include cstdlib in c++?

668


What is a c++ object?

623


How do you add an element to a set in c++?

555


When is dynamic checking necessary?

608


What is a multiset c++?

558


Why c++ is created?

581


Write about all the implicit member functions of a class?

602


How do I use arrays in c++?

591