Infosys Interview Question

Find length of array