class String{ public: const static int a = 5; private: char *p; public: String(int n){ p = new char[n]; } String(){ p = new char[10]; } ~String(){ // delete [] p; std::cout<<"destructor called"<<"\n"; } }...