0

Why it doesnt work correct?

https://code.sololearn.com/clvX8VHYKRFV/?ref=app when indicate firstly 123 after 456 ,it return 654321,but after a bigger numbers like 45,66,34, it returnes Like(6536544,0,) and oher incorrect numbers

13th Dec 2020, 12:13 AM
Aleks kryzhanivskyi
Aleks kryzhanivskyi - avatar
2 Respuestas
0
what are you trying to do in the third array? int r =n/arr1[0]; int arr3[r*2]; Your 'n' and 'arr[0]' are from user inputs.
13th Dec 2020, 12:50 AM
rodwynnejones
rodwynnejones - avatar
0
to merge arra1 and array2 in array3
13th Dec 2020, 11:49 AM
Aleks kryzhanivskyi
Aleks kryzhanivskyi - avatar