Objectives : mmyFile_ferror1.cpp perror("Error: x@#4%\n"); clearerr(file1); fseek(file1, 0,SEEK_END); fsize = ftell(file1); //passing file name as a parameter readfile(filename); fputc('e1',file1);// try to write if(ferror(file1)) Code: mmyFile_ferror1.txt
Objectives :
Step: 1 Create a source file. Create a text file and write something in it
Step: 1 Create a source file.
Create a text file and write something in it
Step: 2 Edit and save Source file
Step: 3 Runtime Views:
Step: