Testcase 2 & 4 not passed

code:

you have to start from end of each array i=n-1,j=m-1; and initially carry=0;
now add a[i]+b[j]+carry; and assign it to c[k](k start from max(m,n));
if(i<0 or j<0) don’t add it. just add other to carry

modified code: still not passing please help.