look at fopen(), fread(), fwrite(), and fclose() for basic file I/O... For an array you would need to write the number of bytes in the array to a file...
[code]
#define SIZE 50
void Test(void) {
char array[SIZE] = "This is a character array";
FILE *fp
// Modes r=read, w=write, a=append, r+ = read/write existing...
fp = fopen("filename", "r+");
fwrite(array, SIZE, 1, fp);
array[0] = 0;
fread(array, SIZE, 1, fp);
fclose(fp);
}