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 is the full form of dos?
What is the size of a vector?
How to get the current position of the file pointer?
Difference between a homogeneous and a heterogeneous container
What is flag in computer?
When should you use global variables?
What are friend functions in C++?
What is the best c c++ compiler for windows?
What is friend class in c++ with example?
What is the full form of india?
How do I exit turbo c++?
Can java be faster than c++?
Difference between class and structure.
What are enumerations?
How come you find out if a linked-list is a cycle or not?