#include using namespace std; class base1{}; class base2{virtual void show(){}}; class test1{ }; class test2{virtual void show(){}}; class der
how to determine the size of virtual base class and derived classes from it??
Use sizeof().
sizeof()