/******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <iostream>
#include <stdint.h>
using namespace std;
int main()
{
int x = 1234;
void* y = reinterpret_cast<void*>(x);
int z = (intptr_t)y;
cout << "x ist " << x << '\n';
cout << "y ist " << y << '\n';
cout << "z ist " << z << '\n';
return 0;
}