IBM Interview Question

Question related to Arrays and Strings.