What is an Array?
In programming languages, an array is way of storing several items (such as integers),
These items must have same type (only integers, only strings, ,,,) because array can not store different kinds of items,
Every item în array has number so the programmer can get item by using that number, This number îs called the index,
In some programming languages, first item has index 0, second item has index 1 & so on,
But în some languages, first item has index 1 (and then 2, 3, ,,,),
When programmer creates array, he/she must give the size of array, This îs number of items that can be stored în array,
If programmer wants to store more items then he/she must create new array, This îs because size of array can not be changed,
Related Tags: Programming Help at ExpertsMind.com
No comments:
Post a Comment