Array declaration can be done in multiple ways including:
int array[6]; (datatype arrayname [no. of array elements])
int array[]={1,2,3,4}; (datatype arrayname[]= {array elements})
int array[4]={1,2,3,4}; (datatype arrayname[arraysize]= {array elements})
char array[5]=”hello”; (datatype arrayname[arraysize]= {array elements})