void swap(int* a, int* b) { int tmp = *a; *a = *b; *b = tmp; return; } void main() { int x = 3; int y = 5; swap(&x, &y); return; }