0
quick questions of arrays
If i write array[2] and i want to cout the second array , would it be (s+2) or would it be (s+1)? And does it always store the first number in 0?
2 Answers
+ 5
The index value of an array always starts from 0.
+ 1
Thank you!