IQVIA Interview Question

Reverse a string without using in-built functions.