#include #include class Student { public: Student(const string &n, const string&s, int a); void display(); int get_age () const { return age; } private: string name; string ssn; int age; }; /*** NON MEMBER overloading ... ***/ int operator+(const Student&a, const Student&b) { return a.get_age() + b.get_age(); } Student::Student (const string &n, const string&s, int a) { name = n; ssn = s; age = a; } void Student::display() { cout << "Name: " << name << endl << "SSN: " << ssn << endl << "Age: " << age << endl; } main () { Student x ("John", "222", 23), y("Jane", "333", 20); x.display(); y.display(); cout << "SUM OF 2 Students: " << x + y << endl; }