#include void swap(int *a, int *b){ int tmp; tmp=*a; *a=*b; *b=tmp; } int main(){ int x,y; x = 5; y = 3; swap(&x,&y); printf("%d %d\n",x,y); }