The code isnt working properly.( sum of 2 arrays)


this is the link to the code.
kindly help!

Himanshu, the basic approach you can follow up in your code is that you can convert the whole of array elements of both array into a long integer and then treat that as normal nos, add those numbers while maintaining two variables, sum and carry and updating their values, …