Wipro Interview Question

reverse a string without using predefind funcn