We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Remember that arrays start with index zero, so in the array {1, 2, 8, 9, 3} (remember that the 5 in that line isn't part of the array), 1 is the number at index 0, and 9 is the number at index 3.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Variable Sized Arrays
You are viewing a single comment's thread. Return to all comments →
Remember that arrays start with index zero, so in the array {1, 2, 8, 9, 3} (remember that the 5 in that line isn't part of the array), 1 is the number at index 0, and 9 is the number at index 3.