c program for writing notepad at end of file

c program for storing data into notepad

Program:-



Note:-
fp=fopen("e:\\text.txt","a");
# a is used to write at end of file
# a+ is used for both write at end of file  and read
# w is used write into file, it will erase old data, if file is not present it will create a file
# w+ is used for both writing and reading into file, it will erase old data,  if file is not present it will create a file
# r is used to read file
# r is used for both write and read.if file is not present it will show error.

Also see


c program to create notepad 

c program for reading notepad

c program to write data into notepad

c program for copy string from one notepad to another notepad

Leave reply

Add your comments here

Back to Top