FILE I/O Throwing Compile Error in C : I am trying to write a character to a file in C, but this code:

    			case 4: //If the user types 4 (reset)
				FILE * fp;

				FILE *fp;
				fp = fopen("settings.txt", "w");
				fprintf(fp, "a");
				int fclose(FILE * fp);

				break;

Throws this error:
    
    fileio.c:72:5: error: expected expression
                                FILE * fp;

(Yes, I know I used "file * fp" two times but without both it throws even more errors.)

How can I fix this?

Thank you!