Use of object pointer in c++
Use of object pointer-1 in c++ code: #include<iostream> using namespace std; class Area{ double height,radious; public: Area(){ radious=0; height=0; } Area(double height,double radious){ this->height=height; this->radious=radious; } ~Area(){ cout<<"Object are distroyed."<<endl; } void set(double h,double r){ height=h; radious=r; } double CalCulate(); }; double Area::CalCulate(){ if(height>1){ return 3.1416*radious*radious*height; } else{ return 3.1416*radious*radious; } } int main(...