int a, b, c; int foo(int x, int y); int main(void) { a = 5; b = 10; c = foo(a, b); } int foo(int x, int y) { x = x + (++y); return x; }