I am trying to understand what it means when a code appears in between the brackets. I know that has something to do with an array.
Asked
Active
Viewed 79 times
-4
-
2index 0 of an array variable named `inputArray`, please read a tutorial about arrays... – Alon Eitan Mar 15 '20 at 18:10
-
what is the context? – Mister Jojo Mar 15 '20 at 18:10
-
@MarkMeyer this is not covered in the linked dupe. – VLAZ Mar 15 '20 at 18:13
-
`[1] == ([1])[0]` – Jared Farrish Mar 15 '20 at 21:30
1 Answers
2
In the case of "inputArray[0]", it is finding the value at index position 0 (the first element) in the array "inputArray".

WangGang
- 533
- 3
- 15