0

constructor and a destructor for the ''Mother'' class.

Drag and drop from the options below to define a constructor and a destructor for the ''Mother'' class. ::Mother() { cout << "constructor" << endl; } Mother::() { cout << "destructor" << endl; }

12th Oct 2019, 2:34 PM
Syed Shahrose
Syed Shahrose - avatar
4 odpowiedzi
+ 2
Mother::Mother() { cout << "constructor" << endl; } Mother::~Mother() { cout << "destructor" << endl; }
10th Oct 2020, 5:42 AM
Rakibuzzaman
Rakibuzzaman - avatar
0
This appears to be a question from the C++ course. Have you already tried revisiting the lessons prior to the given quiz? More often then not, you'll find a solution there. You can also use up some XP to solve the question for you. If you have a specific question regarding the quiz, you should state that question, so we can help you understand it, and not have others just solve your problems for you, otherwise your learning experience will equal zero.
12th Oct 2019, 3:11 PM
Shadow
Shadow - avatar
- 1
f :'/
14th Apr 2020, 8:05 AM
Spencer Naismith
Spencer Naismith - avatar
- 2
ok i will do it my self...
12th Oct 2019, 3:19 PM
Syed Shahrose
Syed Shahrose - avatar