Sum of two Arrays Doubt

I am little stuck with the solution i did for the question : Arrays - Sum of Two Arrays.
I want to know why my solution didn’t pass all the test case. Which scenario I forgot to consider?

Solution I did : https://ide.codingblocks.com/s/229573

hi @Jun18ELX0045

for this input
2
9 9
2
9 9

you code give
9, 8, END

which is not correct

try again and modify your code
if you have more doubts you can ask