0

Please comment this code for me again

class Mother { public: Mother() {}; void sayHi() { cout << "Hi"; } }; class Daughter: public Mother { public: Daughter() {}; }; int main() { Daughter d; d.sayHi(); }

15th Nov 2016, 11:33 AM
Faminan Tioro
Faminan Tioro - avatar
1 Answer
0
Are you familiar with the concept of object-oriented programming ?
15th Nov 2016, 4:03 PM
Johannes K
Johannes K - avatar