class base
{
public:
int fun(int)
{}
};
class base2
{
public:
int fun(float)
{
}
};
so here qustion is both function either function
overloading or over riding;
Answer Posted / sandeep mannarakkal
Over loading and overriding , both are performing in the same scope, here both functions have different scope.
So it is NOT overloading ,
NOT over riding.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does asterisk mean in c++?
Is c++ platform dependent?
What is the basic difference between C and C++?
What is the difference between structure and class?
What are the different types of polymorphism in c++?
How one would use switch in a program?
What are the vectors in c++?
What is an adjust field format flag?
Are c and c++ similar?
Explain dangling pointer.
Can you please explain the difference between using macro and inline functions?
Why was c++ created?
Is c++ a software?
What gives the current position of the put pointer?
What are the types of array in c++?