void test(int& t) { t = 8; t += 1; } void main() { int a = 5; int& b = &a; a = 6; print a; print b; test(&a); print a; print b; }