A array is nothing but special kind of variable which has capacity to hold more than one value belonging to same data types only means it can hold homogeneous data but not heterogeneous data.
A array is nothing but derived datatype it becomes to necessary to use derived data type because a normal variable can hold only 1 value at a time.
When we want to declare a array in any language it always represent with "[]" only within the square bracket it has to specify the number of elements and array always start with element "0" only
Comments
Post a Comment