Type: Posts; User: Daper
So your code that changes the pointer should look like: void change(int **x, int **y) { *x=*y; } // ...