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 character terminates all character array strings a) b) . c) END
Explain the concept of copy constructor?
What parameter does the constructor to an ofstream object take?
What is math h in c++?
What are the advantages of inheritance in c++?
What is the insertion operator and what does it do?
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?
How are Structure passing and returning implemented by the compiler?
Can union be self referenced?
What is a namespace in c++?
Why cout is used in c++?
What's the best free c++ profiler for windows?
write a function signature with various number of parameters.
C is to C++ as 1 is to a) What the heck b) 2 c) 10
If there are two catch statements, one for base and one for derived, which should come first?