Given the following C++ code, answer the questions (i) & (ii).
class TestMeOut
{
public:
~TestMeOut() //Function 1
{cout<< “Leaving the examination hall”< TestMeOut() //Function 2
{cout<< “Appearing for examination”< void MyWork() //Function 3
{cout<< “Attempting Questions//< };
(i) In Object Oriented Programming, what is Function 1 referred as and when doesit get invoked / called ?
(ii) In Object Oriented Programming, what is Function 2 referred as and when doesit get invoked / called ?