#include<iostream>
using namespace std;
class test
{
public:
int* i ;
test(int k)
{
i=&k;
}
};
int main()
{
test p(2);
cout<<"for 1st time *(p.i) :"<< *(p.i);
cout<<"\n";
cout<<"for 2nd time *(p.i) :"<< *(p.i);
cout<<"\n";
cout<<"for...
Hi Guest we just wanted to alert you to a major change in the forum. We will no longer be allowing the posting of outgoing links. Please use the attachment feature to attach media to your posts.