In addition to using = to assign a value to the entire array during initialization, in other cases you can only use = to assign a value to an element of the array.
For example:
//Initialize the array
int a[]={1,2,3};
//Assign a value to an element of the array< /p>
a[1]=100;