2 test cases are not passing for the problem

My solution to Array- Sum of 2 arrays is - https://ide.codingblocks.com/s/123471
it is not passing test #2 , 3. Can you point out the problem?

@ayushg1214 hey ayush try to handle this case
5
5 4 3 2 1
5
9 8 7 6 5
your output is
5, 3, 0, 8, 6, END
but actual output is
1, 5, 3, 0, 8, 6, END

Thanks it is now working!