Ask a Question

Suppose class A is a base class and it has two derived classes B & C. Then is the following Inheritance correct? class B:virtual public A{}; class C:public A{};