array simple c program code example
Example 1: c program for array
// Array declaration by specifying size
int arr1[10];
// With recent C/C++ versions, we can also
// declare an array of user specified size
int n = 10;
int arr2[n];
Example 2: c language array
int array[5]={1,2,3,4,5};