Reverse a string (using pointers)