#include <iostream>
using namespace std;
const int i = 5;
void cast(const int *j)
{
*const_cast<int *>(j) = 1;
}
int main(void)
{
cout << "i = " << i << endl;
cast(&i);
cout << "i = " << i << endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKY29uc3QgaW50IGkgPSA1OwoKdm9pZCBjYXN0KGNvbnN0IGludCAqaikKewogICAgKmNvbnN0X2Nhc3Q8aW50ICo+KGopID0gMTsKfQoKaW50IG1haW4odm9pZCkKewogICAgY291dCA8PCAiaSA9ICIgPDwgaSA8PCBlbmRsOwogICAgY2FzdCgmaSk7CiAgICBjb3V0IDw8ICJpID0gIiA8PCBpIDw8IGVuZGw7Cn0K