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
Is rust better than c++?
What do you mean by enumerated data type?
What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass
Write a c program for binary addition of two 8 bit numbers.
Write a program to find the reverse Fibonacci series starting from N.
What is a container class?
What is virtual destructor ans explain its use?
What is polymorphism & list its types in c++?
What is pair in c++?
How do we implement inheritance in c++?
What are virtual constructors/destructors?
program explaining feautures of c++
Are c and c++ different?
What is Destructor in C++?
Which programming language is best to learn first?