Siemens interview question

Array and string questions using golang.