#include<iostream>
#include<climits>
using namespace std;

int main(){
    int x = 2;

    int *xPtr2 = &x;
    (*xPtr2)++;
    cout << x << endl;

    (*xPtr2) = 5;
    cout << x << endl;
     
     return 0;
}