#include <iostream>
using namespace std;
int main()
{
    int a=25,*ptr;
    ptr=&a;
    cout<<"The Value of a is "<<a;
    *ptr=(*ptr)*10;
    cout<<"\nThe Value of a is "<<*ptr;
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: