int sum(int a, int b) { int t = a + b; return t; } void swap(int *xp, int * yp) { int t0 = *xp; int t1 = *yp; *xp = t1; *yp = t0; }