I am asked this question as part of an assignment, and I have no clue what to say:
What is risky about the following and how could you rewrite it to make it safer?
thank you all for your help.Code:class Line { public: Point p1; Point p2; double length; }