Premium Only Content

How to Write Data in file using C program?By BitsBytes
We learn about file handling
How to Insert data in File from the program
---------------------------------------------------------------------
Why files are needed?
- When a program is terminated, the entire data is lost. Storing in a file will preserve your data even if the program terminates.
-If you have to enter a large number of data, it will take a lot of time to enter them all.
-However, if you have a file containing all the data, you can easily access the contents of the file using few commands in C.
- You can easily move your data from one computer to another without any changes.
-------------------------------------------------------------------------------------------------
Types of Files
When dealing with files, there are two types of files you should know about:
1. Text files
-Text files are the normal .txt files that you can easily create using Notepad or any simple text editors.
-When you open those files, you'll see all the contents within the file as plain text. You can easily edit or delete the contents.
-They take minimum effort to maintain, are easily readable, and provide least security and takes bigger storage space.
2. Binary files
-Binary files are mostly the .bin files in your computer.
-Instead of storing data in plain text, they store it in the binary form (0's and 1's).
-They can hold higher amount of data, are not readable easily and provides a better security than text files.
Thanks for Watching....
-Don't forgot about like,subscribe,share and comment
BitsBytes
Bits Bytes
-
2:09:29
Tim Pool
3 hours agoEXPOSING Secret Government Tech, UFOs & TELEPORTATION | The Culture War with Tim Pool
218K79 -
2:03:06
The Charlie Kirk Show
2 hours agoDouble SCOTUS Victory + AMA | Mailman, Sen. Mullin | 6.27.25
38.3K12 -
1:04:38
The Big Migâ„¢
2 hours agoGlobal Finance Forum From Bullion To Borders We Cover It All
4.3K9 -
1:12:32
Rebel News
1 hour agoGazan refugees to Canada, Canadian dies in ICE custody, Pro-Iran protests in Toronto | Rebel Roundup
5.3K8 -
35:23
Tudor Dixon
2 hours agoThe China Factor: What They’re Not Telling Us About 2020 with John Solomon | The Tudor Dixon Podcast
4.52K -
1:16:27
The White House
3 hours agoPresident Trump Holds a Press Briefing, June 27, 2025
25.7K45 -
1:20:51
Steven Crowder
5 hours agoBREAKING: Supreme Court Decision Hands Trump a Major W & Can Communism be a Good Thing
223K141 -
Flyover Conservatives
13 hours agoHow to 10X Your Website Conversions: 5-Step Conversion Formula - Clay Clark | FOC Show
24.1K1 -
58:25
The Rubin Report
6 hours agoNYC Mayor Has a Brutal Message for Zohran Mamdani
40.6K36 -
16:55
BTC Sessions
4 hours agoMy 3rd YouTube Ban
23.4K15