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