Giving the following class definitions, how many subobjects of class V in class X?

Q

Giving the following class definitions, how many subobjects of class V in class X?
class V { /* ... */ };
class B1 : virtual public V { /* ... */ };
class B2 : virtual public V { /* ... */ };
class B3 : public V { /* ... */ };
class X : public B1, public B2, public B3 { /* ... */};

✍: Guest

A
(This question has not been answered yet. If you know the answer, please share it in a comment below.)

2012-04-27, 2682👍, 0💬