do you know how to code a loop? A 'for' or 'while' loop would work nicely.
I am going to run a code example, but it is fairly simple, because it assumes that the array elements will only be integers. If you are filling the array with more complicated elements, like objects, Than you must know that the array type must match the type of every single element to be indexed in the array. having said that:
Let's pseudo-code it:
//declare array and size
array myarray[10]; <- this array has 10 elements.
//run for loop to index every element, and set its value to NULL
//NULL is the default "no value" indicator in C.
for( index=0;index<= number of elements in array; index++ )
myArray[index]= NULL;
Now remember this is pseudo-coded, so the syntax is not correct. I havent
written C in so long, im sure to lead you wrong if I try to use the language syntax. Hope that helps!