Back To C++ Inheritance Index
//program to call or invoke constructor of base class in derived class #include
#include
#include
class box { int width; int depth; int height; public: box(int w,int d,int h) { width=w; depth=d; height=h; } void bshowdata() { cout<<"\nwidth of box is "<