Array -sum of two array


i have made a basic code to enter the inputs to arrays but i cant get how are they adding the arrays of unequal size.

Hi
U can add two arrays index by index from last
And when 1 array get finished the second array will be the remaining part to add