#include<iostream.h>
class A
{
public:
read()
{cout<<"read";
}};
class B:public A
{public:
readb()
{
cout<<"readb";
}
};
class C:public A
{
public:
readc()
{cout<<"readc";
}
};
class D:public B,public C
{
public:
readd()
{
cout<<"readd";
}
};
main()
{
D d;
//d.read();
d.readb();
}
am getting error for this...