int_reference 193 B

12345678910111213141516
  1. void test2(int* t) {
  2. *t = 8;
  3. *t += 1;
  4. }
  5. void main() {
  6. int a = 5;
  7. int* b = &a;
  8. a = 6;
  9. test(a);
  10. test(*(b));
  11. test2(&a);
  12. test2(b);
  13. test(a);
  14. test(*b);
  15. }