#pragma once #include class Person { char* name = nullptr; int age = 0; void copyFrom(const Person& other); void free(); public: Person() = default; Person(const char* name, int age); Person(const Person& other); Person& operator=(const Person& other); const char* getName() const; int getAge() const; void setName(const char* name); void setAge(int age); ~Person(); void print() const; };