Having multiple inheritance
class A{};
class B{};
class C: public A, public B{};
what happens when i do
C *c = new C;
A *a = c;
B *b = c;
A *a1 = new C;
B *b1 = new C;
What happens with first instance of C? Does assiging C to pointer of type A slice the object, so A points only to part of C that contains members of A? If so, how does it know when to top? If C contains A part and B part, and A part starts at offset 0 , how does it know which offset to stop?
Thanks for help.