0
Why doesnt -1 work for the array?
I'm trying to use arr[-1] to access the last element of the array.
5 Réponses
+ 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