Leena Roches
Tuesday, July 12, 2011
What is the number of the ending index of an array?
In some languages you can use -1, but most would require you to use array[array.length-1] or array[length(array)-1].
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment