0
Why doesnt -1 work for the array?
I'm trying to use arr[-1] to access the last element of the array.
4 Answers
+ 9
Help us to help you:
What language are you using ?
If you are working on a code, save it in the code playground and post it here.
+ 8
You can save the code you tried to modify, and post it here.
+ 7
I guess you learned python firstđ
Only python get items with negative indexđ
0
I was doing the c++ course and im working on one of the practice questions