Robert Bosch Interview Question

reverse string without string functions