Computer Science, asked by joy2002, 10 months ago

(6)
Observe the following C++ code and answer the questo
& C++ code and answer the questions (i) and (ii).
Note : Assume all necessary files are included
class Point
int X,Y;
public:
20
Point(int i=10, int J=20)
//Function 1
X = J; 20
Y = I; ;
void Show ()
//Function 2
cout<<" Points are" << x <<"&"<< Y < ~Point()
//Function 3
cout<<"Points Erased"< void main()
Point P(5);
P.Show();
For the class Point, what is Function 3 known as ? When is
it executed ?
füit
What is the output of the above code, on execution ?

Answers

Answered by nipun56
1

Answer:

What does it mean please type the words clearly

Answered by Mavis19
1

What is the meaning of this question?

Similar questions
Physics, 10 months ago