




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





#include
#include<conio.h>
using namespace std;
int main ()
{
int abc;
int a = 10;
int *ptr = &abc;
cout<<"the value of a is : "<<a<<endl;
cout<<"the value of ptr is : "<<&ptr<<endl;
*p1=8;
p2=p1;
p1=p2;
*p2=10;
cout<<"pointer"<<s1<<endl;
cout<<"second pointer"<<s2<<endl;
return 0;