Infosys Interview Question

Calculate Length of string without using length function