Capgemini Engineering interview question

reverse a string using pointers nd other methods