virtual and sizeofguestgulkan, I am afraid that sizeof(B)=4.
virtual and sizeofsorry for my thoughtless, sizeof(A)=4. Actually, I am confused by: class C : public A{ virtual ...
virtual and sizeofclass A{ virtual void foo(){}; };sizeof(A)=1 class B : public virtural A{ virtual void foo(){}...