September 2005
Beginner
576 pages
13h 6m
English
| Q1: | Do arrays have to begin with an element 0, or can they range from a higher minimum number to a higher maximum number, such as 65 to 90? |
| A1: | They don't have to begin at element 0, but it is more efficient to do so because it takes up less memory in the computer to store arrays that begin with 0. You can use arrays of a higher index number simply by referring to the numbers you want to use. For example, if you created a for loop that cycled from array element 65 to element 90, you could disregard any other element numbers. However, there still will be array elements numbered from 0 to 64 taking up space in memory, even if you don't use them for anything. |
| Q2: | Is the numeric range of the alphabet, from 65 for A to 90 for Z, part of the basic ... |
Read now
Unlock full access