Computer Science, asked by TbiaSamishta, 1 year ago

Show the output of the following program // constructors and derived classes #include usingnamespacestd; class mother { public: mother () { cout<< "mother: no parameters\n"; } mother (int a) { cout<< "mother: int parameter\n"; } }; class daughter : public mother { public: daughter (int a){ cout<< "daughter: int parameter\n\n"; }};class son : public mother {public:son (int a) : mother (a){ cout<< "son: int parameter\n\n"; }};int main () {daughtercynthia (0);sondaniel(0);return 0;}

Answers

Answered by Anonymous
0
I don't understand your question
....??????
Answered by prantikskalitap8kpsj
0
I didn't understand the question
Similar questions