Code:
void func_switch(int *a, int *b){
             int *tmp;
             tmp = a;
             a = b;
             b = tmp;
}