Warning: Trying to access array offset on false in /home3/indiakep/public_html/wp-content/plugins/dw-question-answer/inc/Template.php on line 8
1 Answers
The ambiguity occurs when a function with the same name appears in more than one base class or appears in both base and derived class.
Class M
{
public:
void display() {cout<<“\n class M”;}
};
class N
{
public:
void display() { cout << “\n class N”; }
};
class P : public M, public N
