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


Please Help Members By Posting Answers For Below Questions

What is the use of lambda in c++?

568


Is it possible to pass an object of the same class in place of object reference to the copy constructor?

564


an operation between an integer and real always yeilds a) integer result b) real result c) float result

701


What is a stack? How it can be implemented?

690


What is the use of 'this' pointer?

761






What is the type of 'this' pointer? When does it get created?

542


What is the use of endl in c++ give an example?

605


what are the decision making statements in C++? Explain if statement with an example?

648


What is lambda expression c++?

571


What is difference between rand () and srand ()?

586


Write about all the implicit member functions of a class?

590


Is c++ a low level language?

507


Are strings immutable in c++?

647


What is the difference between the indirection operator and the address of oper-ator?

600


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?

660