What is beneficial about this program?? When using Pointer to Setter and Getters
class Animal
{
    
public:
    void setName(string *Animal_Name);
    void setAge(int *Animal_Age);
    string getName();
    int getAge();
    
private:
    string Name;
    int Age;
    
};
What is beneficial about this program?? When using Pointer to Setter and Getters
===

class Animal
{
    
public:
    void setName(string *Animal_Name);
    void setAge(int *Animal_Age);
    string getName();
    int getAge();
    
private:
    string Name;
    int Age;
    
};