Add an array problem

what this line if(carry ) then ans=10 means I am not getting this line.