#include <iostream>
using namespace std;

int main() {
    const int value = 10;
    int* p = (int*)&value;
    *p = 20;
 
    cout << value << " " << *p << endl
        << &value << " " << p << endl;
 
    return 0;
}