sir what is the mistake in this code
still it is not giving the correct ans
Sum of two arrays
your approach is not correct
your code in not printing any output
correct approach is
- take 3 variables i ,j and k
- iterate on both arrays form end
- add two digits and carry then save the last digit of result on third array
add remaining to carry
at last append carry to resultant array
and print the resultant array in reverse order