[Solved] C++ Virtual Inheritance
~abc is the destructor of abc. It’s a function that’s there to destroy an object when it isn’t needed anymore. At the end of the program every object is destroyed, for that the program calls every destructor. You defined your destructor to print those lines, so it does. Also, every object in the tree inherits … Read more