Sum of two arrays question

Link to question : https://online.codingblocks.com/player/10239/content/4820
Link to my code : https://ide.codingblocks.com/s/46139

I am getting correct output for test case(given in the problem) and for the test case
5
5 9 0 2 9
5
9 4 5 6 7
I am getting correct output in codeblocks but not in online ide. Also during submission one test case gets passed.
Pls guide

Hey, shubham consider your code once again.
for test case
5
1 1 0 2 9
5
9 4 5 6 7
i am getting wrong output.