#include <iostream>
using namespace std;
int main() {
int x;
cin>>x;
int* p;
p = &x;
cout<<*p<<endl; //here printing *p because it will print the value of x by going to its address allocated in its memory
*p = 13;
cout<<x;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: