use of array in programming