The below code creates a "Box" class; and then an object "thisbox"; how can I uncreate the object?
Code:#include <iostream> class Box { private: int height, width, depth; public: Box(int, int, int); ~Box(); int volume(); }; Box::Box(int ht, int wd, int dp) { height = ht; width = wd; depth = dp; } Box::~Box() { } int Box::volume() { return height * width * depth; } int main() { Box thisbox(7, 8, 9); int volume = thisbox.volume(); std::cout << volume; return 0; }