#include <iostream>
class Obiekt {
public:
int Pole1;
int Pole2;
};
int main(int argc, char **argv)
{
Obiekt obiekt;
obiekt.Pole1 = 100;
obiekt.Pole2 = 200;
int *Tab = reinterpret_cast <int*>(&obiekt);
std::cout << "Tab[0]: " << Tab[0] << std::endl;
std::cout << "Tab[1]: " << Tab[1] << std::endl;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKY2xhc3MgT2JpZWt0IHsKICBwdWJsaWM6CiAgICBpbnQgUG9sZTE7CiAgICBpbnQgUG9sZTI7Cn07CgppbnQgbWFpbihpbnQgYXJnYywgY2hhciAqKmFyZ3YpCnsKICBPYmlla3Qgb2JpZWt0OwogIG9iaWVrdC5Qb2xlMSA9IDEwMDsKICBvYmlla3QuUG9sZTIgPSAyMDA7CiAgaW50ICpUYWIgPSByZWludGVycHJldF9jYXN0IDxpbnQqPigmb2JpZWt0KTsKICBzdGQ6OmNvdXQgPDwgIlRhYlswXTogIiA8PCBUYWJbMF0gPDwgc3RkOjplbmRsOwogIHN0ZDo6Y291dCA8PCAiVGFiWzFdOiAiIDw8IFRhYlsxXSA8PCBzdGQ6OmVuZGw7Cn0=