void swap(int x, int y) { int t = x; x = y; y = t; } int f() { int a = 3; int b = 5; swap(a, b); return a + b; }