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
Evaluate the following expression as C++ would do :8 * 9 + 2 * 5 a) 82 b) 79 c) 370 d) list
Why is swift so fast?
Define a nested class.
What is runtime polymorphism in c++?
Is dev c++ free?
Can I make ios apps with c++?
Explain the concept of memory leak?
What is protected inheritance?
What is the difference between multiple and multilevel inheritance in c++?
Explain function overloading
Keyword mean in declaration?
Write is a binary search tree? Write an algo and tell complexity?
What is rtti in c++?
Is it possible for a member function to delete the pointer, named this?
What is data abstraction? How is it different from data encapsulation?