Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ first index 0 or 1

Arrays are indexed starting at 0, as opposed to starting at 1. The first element of the array above is vector[0]. The index to the last value in the array is the array size minus one.
 
PREVIOUS NEXT
Tagged: #index
ADD COMMENT
Topic
Name
3+3 =