Sum of 2 arrays 2 cases not passed (please reply fast)

my code
https://ide.codingblocks.com/#/s/32851

my second attempt:
https://ide.codingblocks.com/#/s/32857

why 2 test cases not passed

question link:
https://hack.codingblocks.com/contests/c/509/217

INPUT:
3
9 9 9
6
9 9 9 9 9 9

check this case. Your code is not producing any output for this case.