#include <iostream>
using namespace std;
int main()
{
int a=5;
const int b=10;
int* c=&a;
cout<<&a<<' '<<a<<endl;
cout<<&b<<' '<<b<<endl;
cout<<c<<' '<<*c<<endl;
c++;
cout<<c<<' '<<*c<<endl;
*c=5;
cout<<c<<' '<<*c<<endl;
cout<<&b<<' '<<b<<endl;
cout<<(c==&b)<<' '<<(*c==b);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkKewogICAgaW50IGE9NTsKICAgIGNvbnN0IGludCBiPTEwOwogICAgaW50KiBjPSZhOwogICAgY291dDw8JmE8PCcgJzw8YTw8ZW5kbDsKICAgIGNvdXQ8PCZiPDwnICc8PGI8PGVuZGw7CiAgICBjb3V0PDxjPDwnICc8PCpjPDxlbmRsOwogICAgYysrOwogICAgY291dDw8Yzw8JyAnPDwqYzw8ZW5kbDsKICAgICpjPTU7CiAgICBjb3V0PDxjPDwnICc8PCpjPDxlbmRsOwogICAgY291dDw8JmI8PCcgJzw8Yjw8ZW5kbDsKICAgIGNvdXQ8PChjPT0mYik8PCcgJzw8KCpjPT1iKTsKICAgIHJldHVybiAwOwp9Cg==