Pergunta de entrevista da empresa Sun Telematics

Write the program to find the length of the string?