Pregunta de entrevista de IBS Software

Asked to write code for string reverse without using the function