#include<iostream>
using namespace std;
class demo
{
private: char info;
public:
demo()
{
info='a';
}
void print_info()
{
cout<<info;
}
};
int main()
{
demo * ob = new demo();
char* ptr= reinterpret_cast<char*>(ob);
*ptr='b';
ob->print_info();
delete ob;
return 0;
}
I2luY2x1ZGU8aW9zdHJlYW0+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgpjbGFzcyBkZW1vCnsKICAgICAgICBwcml2YXRlOiBjaGFyIGluZm87CgogICAgICAgIHB1YmxpYzoKICAgICAgICAgICAgICAgICBkZW1vKCkKICAgICAgICAgICAgICAgICB7ICAgCiAgICAgICAgICAgICAgICAgICAgICAgICBpbmZvPSdhJzsKICAgICAgICAgICAgICAgICB9ICAgCgogICAgICAgICAgICAgICAgIHZvaWQgcHJpbnRfaW5mbygpCiAgICAgICAgICAgICAgICAgeyAgIAogICAgICAgICAgICAgICAgICAgICAgIGNvdXQ8PGluZm87CiAgICAgICAgICAgICAgICAgfSAgIAp9OwoKaW50IG1haW4oKQp7CgogICAgIGRlbW8gKiBvYiA9IG5ldyBkZW1vKCk7CiAgICAgY2hhciogcHRyPSByZWludGVycHJldF9jYXN0PGNoYXIqPihvYik7CgogICAgICpwdHI9J2InOwoKICAgICBvYi0+cHJpbnRfaW5mbygpOwogICAgIGRlbGV0ZSBvYjsgCiAgICAgcmV0dXJuIDA7Cn0K