Sum of two array problem

https://ide.codingblocks.com/s/61135
i get ans for sample input but wrong output for testcases

Hi Atishay, consider the following input:
4
1 1 1 1
4
1 1 1 1
Expected Output:
2, 2, 2, 2, END
Your output:
0, 2, 2, 2, 2, END