Pregunta de entrevista de Accenture

Find length of string without using any functions