ARRAYS
- Ø An array is a collection of homogeneous/similar type of data items. The type of data items may be char, int, float etc.. The elements that are stored in successive memory locations.
- Ø The array name followed by one or more subscripts, with each subscript is enclosed in square brackets.
- Ø The number of subscripts determines the dimensionality of the array.
- Ø Depending on the number of subscripts, the arrays can be classified into different types as:
No comments:
Post a Comment