Predict the output of following program.class ThisPointer {private:int x;public:ThisPointer()
{
x = 100;
}void deletion()
delete this;
}void display()
cout << "x = " << x; }};int main() {ThisPointer tp;tp.deletion();tp.display();return 0;}
To get all Infosys Certified CPP Programmer Exam questions Join Telegram Group https://grateful.prepflix.in/infy-lex-pdfs