sow to add the array i n the array sum of to array i am no able to understanding the o/p format?
Please explain me the format of the question?
the two arrays are added in the following ways
arr1 : 4 6 7 8
arr2: 6 7 8 1
start from the right element add the element on the n-1 element of both the arrays in case of a carry generated add it to the element of arr2[n-2]+arr1[n-2]+c
sum: 1 1 3 5 9
so start adding from the right most element of both the arrays and move to the left continue till there are elements left to be traversed in either of the array.
Append a END string at the end of the output array.