One Dimensional array:
1) An array is a continuous memory location having similar kind of data in a single row or single column. Declaration in c++ is as under:
const int size = 20;
int a[size] or int a[20].
The elements of array accessed with the assist of an index. For illustration: for(i=0; i<20; i++) cout << a[i];
2) String (Array of characters): Stated in c++ as one dimensional array of characters as char s[80]= “Object oriented programming”;