What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-08-31 18:20:01
passing the value to base class constructor from derived class c++
#include <iostream> #include<string> using namespace std; class Father{ protected: int height; public: Father(){ cout << "constructor of father is called"<<endl; } }; class Mother{ protected: strin... Add solution
Best helpers
Erica Price
+5
Scoiattolo
+5
Vigrond
+5
Muazam
+5
Emmet
+5
NeuronQ
+5
A G Davey
+5
Arad
+5
Meital Regev
+5
Entrepreneur
+5
Majte
+5
JoshuaFicy
+5