Question d’entretien chez Accenture

Find length of string without using any functions