Pergunta de entrevista da empresa IBS Software

Asked to write code for string reverse without using the function