WisdmLabs interview question

Basic programming question on array and string