One Dimensional Array
Declaration of Array
An "array declaration" names the array and specifies the type of its elements. It can also define the number of elements in the array. A variable with array type is considered a pointer to the type of the array elements.
Syntax:
<Data_type> <array_name>[size];
Example:
int num[5];
Initialization of Array
You can initialize an array in C either one by one or using a single statement as follows
int num[5]={4,5,6,5,4,3};