#include #include "base.h" using namespace std; int main() { //Allocate enough memory to hold a base object, //and construct a base object there. base *const p {new base {10}}; cout << "----------------------------------\n"; //Destruct the base object, //and deallocate the memory it occupied. delete p; //no [ ] because block occupied by a single object return EXIT_SUCCESS; }