Write a program in C to read the contents of the existing file created in 1 and store the list of names into an array. Use fscanf to read the file. code example
Example: how to print a file c
c = fgetc(fptr);
while (c != EOF)
{
printf ("%c", c);
c = fgetc(fptr);
}