One Dimentional Array

An array with a single row is called a one-dimensional array. If an array is a single-dimensional array, at that time the row is not defined in the declaration, only the number of columns are defined into the row. An An array requires a minimum of one row.


data_type array_name[size]={list of values};


int arr[5]={1,2,3,4,5};
int arr[]={1,2,3,4,5};