Ask a Teacher



WHAT ARE ARRAYS

The array is a data structure  with an arrangement of items at equally spaced addresses in computer memory ,usually specified in rows or columns.It can store multiple values on a single element.Array can be of an integer array, character array etc.
eg: char  name[20]; - defines an array of characters with a capacity of 20 elements.
      multidimensional arrays can be also declared.
eg: int deposit[20[20];


comments powered by Disqus