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 / keerthi
overriding
Is This Answer Correct ? | 0 Yes | 8 No |
Post New Answer View All Answers
What is the use of lambda in c++?
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
an operation between an integer and real always yeilds a) integer result b) real result c) float result
What is a stack? How it can be implemented?
What is the use of 'this' pointer?
What is the type of 'this' pointer? When does it get created?
What is the use of endl in c++ give an example?
what are the decision making statements in C++? Explain if statement with an example?
What is lambda expression c++?
What is difference between rand () and srand ()?
Write about all the implicit member functions of a class?
Is c++ a low level language?
Are strings immutable in c++?
What is the difference between the indirection operator and the address of oper-ator?
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?