Virtusa interview question

3.write a program sum of arrays