I have a question. I am studying for an exam and am not clear on something. I have the following class definition.
void f(int k);
class B : public A
class C : private A
void f(int K);
clas D : public B
//These definitions are in the main()
//Which of the following are illegal?
I looked at all the statements and find that they are all legal?
Am I right?