(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
1
Answer:
What does it mean please type the words clearly
Answered by
1
What is the meaning of this question?
Similar questions