Mako Trading Group interview question

how to write C++ constructor and destructor?