Answers

Question and Answer:

  Home  Embedded System

⟩ Explain Order of constructor and destructor call in case of multiple inheritance?

constructors top-down, destructors bottom-up.

eg:

in parent's constructor

in child's constructor

in grandchild's constructor

in grandchild's destructor

in child's destructor

in parent's destructor

 132 views

More Questions for you: