Array is fixed size sequenced collection of elements of same type.
Note:
-Array is use to handle large amount of data
-Is collection of elements of same data type.
Syntax: How to declared Array Variable
Note:
-Array is use to handle large amount of data
-Is collection of elements of same data type.
Syntax: How to declared Array Variable
data_type variable_name [size];
int a [5];
- It can be used with all the data type.
* float a [5];
* char a [5];
* double a [5];
- Index of Array always start from 0
No comments:
Post a Comment