The following example shows the process of automatic storage object. int * p = new in t; char * s = new char [1024]; Shape * ps = new Triangle; / / S 'storage type s is determined by the caller void f (const std:: string [$ s)] std:: string * pstr = new std:: string f (pstr); delete p; delete [] s; / / s is an array delete ps; / / invokes the destructor delete pstr; / / ditto C + + to learn the Wa