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

In which header file does one find isalpha() a) conio.h b) stdio.h c) ctype.h

689


What is the difference between #import and #include?

557


What is a volatile variable in c++?

573


What are the restrictions apply to constructors and destructors?

649


What is c++ and its features?

583






What are the important differences between c++ and java?

619


Write a program to find the Fibonacci series recursively.

621


What is operator overloading in c++ example?

670


What kind of jobs can I get with c++?

609


what you know about c++?

675


What is the auto keyword good for in c++?

634


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

596


What is a tree in c++?

567


What is the difference between interpreters and compilers?

644


What is the difference between cin.read() and cin.getline()?

573