Where is the memory fn () located?
Since this is a normal function, somewhere in the code section of your program. This place is the same for all instances of the class. In fact, it has nothing to do with creating Bthrough pb.
Is there a pointer in the object pointing to the fn () memory location?
No. For a normal member function, this is not required, since the address is known at compile time (or, at the latest, at connection time); therefore, it should not be stored separately at run time.
. ( " " "vtable" ). vtable, vtable. , / Base Derived, , ; , , . vtable sizeof.