new to programming here and i keep getting the error message, \'incompatible types, int cannot be converted to int []\', the question is to add R1& R2 together if they are o
sumArray[i]= R1[i]+ R2[j]; // updated line
you need to assign to an array element, but you were doing it wrong.