- An array must be declared with type of variable or data type
- An array contains same type of data
e.g. – int a [10] - The name of array cannot be same as that of any other variable within the function.
- The size of array is specified using sub-script notation (index)
- THE sub-script indicates that how many elements are to be allocated to an array.
- A sub-script used to declare an array is called dimension
10/15/08
DECLARE ARRAYS
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment