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
0
I don't understand your question
....??????
....??????
Answered by
0
I didn't understand the question
Similar questions