
7-61
Arrays
the string. If blank space is found, if block is executed and user needs to enter a character.
Otherwise, the next successive characters are displayed.
7.12 DRAWBACKS OF LINEAR ARRAYS
1. e number of elements, which are to be stored in an array, is to be known rst.
2. When an array is declared, memory is allocated to it. If array is not lled completely, the
vacant place occupies memory.
3. Once the array is declared, its dimension can be changed.
SUMMARY
You have now learnt how to initialize an array by dierent ways. e Characteristics of an array have been
discussed in depth. How to specify the elements of one-dimensional, two-dimensional ...