this pointer used to show the address of the object | simple program in C++

#include<iostream>
using namespace std;
class SAQAGA
{
private:
char arr[10];
public:
void show()
{
cout<<"htttp://saqaga.blogspot.com"<<this;
}

};
int main()
{
SAQAGA s,a,q,g;
s.show();
a.show();
q.show();
g.show();
return 0;
}                                                                                                                                                                               this pointer used to show the address of the object
this pointer used to show the address of the object | simple program in C++ this pointer used to show the address of the object | simple program in C++ Reviewed by Hamza Bashir Ahmad on 08:48:00 Rating: 5