different types of file opening modes in c code example
Example: file in C
//to open a file
FILE=*fp;
fp=fopen("one.txt", "w");
//to close file
fclose(fp);
//to open a file
FILE=*fp;
fp=fopen("one.txt", "w");
//to close file
fclose(fp);