Wednesday, 27 February 2013

Features and Disadvantages of array

Features :
  • Array size should be positive number only.
  • String array always terminates with null character ('\0').
  • Array elements are countered from 0 to n-1.
  • Useful for multiple reading of elements (numbers).

Disadvantages :
  • There is no easy method to initialize large number of array elements.
  • It is difficult to initialize selected elements.

No comments:

Post a Comment