You can declare and initialize an array in C using the following syntax:
datatype arrayname[size] = {value1, value2, value3, …, valueN};
For example, to declare and initialize an array of integers with three values, you can use the following code:
int myarray[3] = {1, 2, 3};