answersLogoWhite

0


Best Answer

fopen, fread, fwrite, fclose

User Avatar

Wiki User

6y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the four file commands required to read and write to a file in C programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How can you read and write to files in C programming language?

We can read and write to files with the help of file commands in c programming.There are so many commands related to file for read,write,append,delete etc.


What are four file commands required to read and write a file?

these are not commands, but functions. Some of them are: open, close, read, write; fopen, fclose, fread, fwrite, fgets, fputs, fprintf, fscanf, fgetc, fputc.


What are the four file commands required to read and write to a file?

Please refine your question, it is not precise enough to get a clear understanding of what you are asking.


What are the four file commands required to read and write a file?

Please refine your question, it is not precise enough to get a clear understanding of what you are asking.


What are the features of batch file programming?

Batch file programming is dos based programming you have to use dos commands .It is very good to perform some repetitive task in computer programming is easy you should only know the dos commands.


How you can delete the data in the file when you open the file in read or write mode in C programming?

When you open a file in write mode, eg. fp=fopen("filename.txt","w"); the content of the file is deleted.


How can you use Automator to read a file address then enter that and other commands into a third-party program like XFoil?

The Get File Path action (See links below) will get the file path. If the commands are stored in a text file Automator can Get Specified Text and Copy to ClipBoard. A new text file could then be constructed with the required address and commands and passed to XFoil - this would probably require a bit of AppleScripting to make it work as required.


What are the four file commands to read and write to a file?

Please refine your question, it is not precise enough to get a clear understanding of what you are asking.


How do you read and write data to serial and sequential file using basic programming language?

you do


You move a file using which commands?

You need to use the MS-DOS commands to move a file.


When an applet is required to respond to mouse click what is required in the source code?

You will find all commands for all programs in there respective folder with the cfg command.Cfg ,is the configuration file.


How does DOS redirection operators affect output and input?

The Redirection commands write/display the designated file/text to a specified location, whether it is a .txt file or another DOS terminal