Given a class Base and a class Derived that is derived fromBase, that no constructors or destructors are explicitly declaredor implemented for either class, and that class Derived inheritsthe display function from class Base, list all Base and Derivedmember functions that are executed when this function iscalled:
void f(const Derived &d_param) { Derived d_local = d_param;d_local.display(); }
Expert Answer
An answer will be send to you shortly. . . . .