
Chapter 12-Arrays
ARRAY::Array is a data sstructure which holds multiple values of the same data type .An arrray is a sequence of objects all of which are of the same type .The objects are called elements of the array an are numbered consecutively 0,1,2,..........Thes numbers are called index values or subscripts of the aray .The term subscripts of array would be written with subscipts n0,n1,n2,n3...These numbers locate he elements position within the array,thereby giving direct access to the arrray.
ONE D ::A one dimensional array is a list of variables that are all of the same type and are referenced through a common name .An individual variable in the array is called an array element .Arrays form a convenient way to handle groups of related data
for eg ::int arr[10];
String array:: In C++ ,a string is an array of characters with the following exceptional features :An extra component is appended to the end of the aray,and its value os set to the NULL character[\0].This means that the total number of characters in the array is always 1 more than the string length.
Multi dimensional array.A multi-dimensional array is an array withb more than one subscript.For eg::
int arr [3][3];arr is a two dimensional array


