Three advanced topics from C++ that may be on the final (1) Copy constructor Suppose you have a class: class Point_C { private: double x; double y; public: Point_C (double theX, double theY) { x = theX; y=theY; } Point_C() : x(0.0), y(0.0) {} void print() const { cout << "(" << x << "," << y << ")";} double getX() const {return x;} double getY() const {return y;} void setX(double theX) { x = theX; } void setY(double theY) { y = theY; } }; The copy constructor gets invoked when you do