0
Why last element of an array is not displaying?
Inserting new element in an array https://code.sololearn.com/c3RiNQ1J9YZf/?ref=app
3 ответов
+ 2
https://code.sololearn.com/cdkLzxt658df/?ref=app
+ 3
arrays have a fixed length.
when you shift the elements by one position, the last element drops out. there is not 7th element as you defined the array to have 6 elements.
0
You have to create a array like this