answersLogoWhite

0

Declaration of file pointer

opening of file in desired mode.

performing the desired operation.

closing the file

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

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

you do


What is reading and writing files?

Reading and writing files refer to the processes of accessing and manipulating data stored in files on a computer. Reading a file involves retrieving its content so that it can be processed or displayed, while writing a file means saving data to a file, either by creating a new one or updating an existing one. These operations are fundamental for data storage, retrieval, and management in various applications. They typically involve using programming languages or software tools that provide functions to handle file operations efficiently.


How you can delete the data in the file by opening it in the C programming in read or write mode?

To delete all the existing data in a file, simply open it in write mode. If you open the file in append mode, you need to overwrite the existing data to delete part or all of that data.


How can a binary file be saved?

A binary file can be saved by opening a file in binary mode using programming languages like Python, C, or Java. In Python, for example, you can use the open() function with the 'wb' (write binary) mode, and then write the binary data using methods like write(). It's important to ensure that the data is in the correct binary format before saving. Finally, close the file to ensure all data is properly written and resources are freed.


Is deleted Firefox private data recoverable using a file recovery program?

Your Private Data is recoverable using a File Recovery Program...such as Pixo_Rescue.


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.


What has the author Paul W Ross written?

Paul W. Ross has written: 'Using Enable/OA' -- subject(s): Enable (Computer file), Microcomputers, Programming 'Using Enable' -- subject(s): Enable (Computer file), Microcomputers, Programming


Scope of computer education?

Computer education involves the learning of basic computer skills such as file types, mouse, keyboard and using Microsoft Office. Other areas of computer education can involve more advanced subjects such as programming.


Programming files in binary access mode in qbasic?

In QBasic, programming files in binary access mode allows you to read from and write to files using binary data rather than text. You can open a file in binary mode using the OPEN statement with the FOR BINARY option. This mode is particularly useful for handling non-text data, such as images or compiled objects, as it provides direct control over the byte-level representation. Use the GET and PUT statements to read from and write to the binary file.


What is meant by API?

An application programming interface (API) is a library of functions that a programming language provides for programmers for common tasks like file transfer, networking, and data structures.


Dap file convert into alv?

To convert a DAP (Data Access Protocol) file into an ALV (ABAP List Viewer) format, you typically need to extract the relevant data from the DAP file and structure it appropriately for ALV. This process often involves using ABAP programming to read the DAP file, process the data into an internal table, and then utilize ALV functions like REUSE_ALV_GRID_DISPLAY to display the data in a user-friendly format. Finally, ensure that the ALV layout and settings meet your reporting requirements.


What is advantage of using file in c?

Storing data, mainly.