1 #include <memory> 2 3 struct Point { 4 int x, y; 5 }; 6 main()7int main() { 8 Point pt = { 1, 2 }; 9 Point points[] = {{1010,2020}, {3030,4040}, {5050,6060}}; 10 Point *pt_ptr = &points[1]; 11 Point &pt_ref = pt; 12 std::shared_ptr<Point> pt_sp(new Point{111,222}); 13 return 0; // Set a breakpoint here 14 } 15 16