I am little confused about vptr and representation of objects in the memory, and hope you can help me understand the matter better.
Consider B
inhe
I would recommend reading Multiple Inheritance Considered Useful , it's a long article but it makes things clearer about the subject as it explains in great details how inheritance works in C++ (the figures links don't work but they are available at the bottom of the page).