Arrays-sum of two arrays

didn’t understand how in the sample test case array is added.?

Hello @avinashmallik2017,

Consider the addition of arrays as sum of two numbers that you have learnt in mathematics.
Let’s understand this with the help of the sample input given in the question:
4
1 0 2 9
5
3 4 5 6 7

for once, cosider these array as two numbers: 1029 and 34567.
Now adding these two the way you do in maths:
1029+34567= 35596

Thus, the output is:
3, 5, 5, 9, 6, END
(This is just the output format that can be easily created using cout(i.e. print) statements)

Hope, this would help.
Give a like if you are satisfied.