• Constructors of derived class can (directly)
initialize only private data members of the derived
Data Structures Using C++ 14
class
• Execution of derived class’s constructor must
trigger execution of one of base class’s
constructors
• Call to base class’s constructor specified in
heading of derived class constructor’s definition
please explain it to me by providing suitable examples.please n thanks very much. confuse about the statement.
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.