#include <iostream>

using namespace std;

int main ()
{
    int x = 105;
    int *y;
    
    cout << "value of x: " << x << endl;
    cout << "address of x: " << &x << endl;
    cout << "address of y: " << &y << endl;
    
    y = &x;
    cout << "value of y: " << y << endl;
    cout << "value at address point by y: " << *y << endl;
    
    *y = 210;
    cout << "value of x: " << x << endl;
    
    return 0;
}

