
276 Programming in C
Explanation:
In the above program, a string is initialized with array name []. The string is not complete
and contains blanks. The if statement within the while() loop checks every character of
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.13 DRAWBACKS OF LINEAR ARRAYS
1. The number of elements, which are to be stored in an array, is to be known first.
2. When an array is declared, memory is allocated to it. If array is not filled completely, the
vacant place occupies memory.
3. Once the array is declared, ...