For example, you could have an array of integers or an array of float or an array of characters or an array of anything that has a defined data type.
The important characteristics of an array are:
- Each element has the same data type but may may have different values.
- The entire array is stored contiguously in memory.
- One-dimensional array, Two-dimensional array and multi-dimensional array are the possible array types.
No comments:
Post a Comment