#include <iostream>

int main()
{
  char buf[sizeof(int)];
  int* i = reinterpret_cast<int*>(buf);
  *i = 5;
  std::cout << *i;
}