I have a pointer char** being passed to Change function below and it looks find when it returns, and prints the correct value "Tom". But as soon as I execute any code after the return from the function Change, my pointer gets messed up. I've stepped through debug countless times.
Thanks helios.
If I change the function to the following it works. I guess I don't understand pointers as well I as thought because I assumed line 3 and 4 were equivalent.