#include <iostream>
#include <iomanip>
using namespace std;

void f(unsigned int& i)
{
	i = 0x12345678;
}

int main() {
	
	unsigned long long int j = 0x0011223344556677;
	f((unsigned int&)j);
    cout << hex << j;
}