#include <iostream>
using namespace std;
class A
{
virtual void func();
};
class B:public A
{
};
int main() {
cout<<"Sizeof B :"<<sizeof(B);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKY2xhc3MgQQp7CgkKCXZpcnR1YWwgdm9pZCBmdW5jKCk7Cn07CgpjbGFzcyBCOnB1YmxpYyBBCnsKCQp9OwoKaW50IG1haW4oKSB7CgkKCWNvdXQ8PCJTaXplb2YgQiA6Ijw8c2l6ZW9mKEIpOwoJcmV0dXJuIDA7Cn0=