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
-
54:25
Inverted World Live
8 hours agoThe JFK Assassination and How the CIA Made the Zapruder Film | Ep. 70
35.5K11 -
10:11:25
SpartakusLIVE
15 hours ago$18,000 2v2 WZ Total Frenzy Tournament || #1 Comp Champ is BACK
92.5K4 -
8:11
MattMorseTV
1 day ago $18.18 earnedMacron just SURRENDERED.
81.6K99 -
1:35:03
Glenn Greenwald
11 hours agoTrump DOJ: There's Nothing to the Epstein Story; State Dept: Syria's Al-Qaeda are No Longer "Terrorists;" Trump & Lula Exchange Barbs Over Brazil | SYSTEM UPDATE #482
171K151 -
2:18:39
We Like Shooting
21 hours ago $7.90 earnedWe Like Shooting 618 (Gun Podcast)
48.5K -
2:42:17
Barry Cunningham
10 hours agoHERE'S WHY SOME IN MAGA ARE SO NEGATIVE ABOUT PRESIDENT TRUMP?
89.9K41 -
1:54:30
Joker Effect
8 hours agoWhy Gaming Streamers Aren't Successful and How To Fix It. Tim The Tatman was RIGHT... Kinda
44.7K3 -
3:43:25
megimu32
8 hours agoOTS: From Ozzy to Emo 🎸 The Rise & Fall of the Rockstar
29.2K2 -
1:22:50
Adam Does Movies
11 hours ago $1.60 earnedMovie News Live Taping! + AMA - LIVE!
27K -
1:47:11
EnDuEnDo
7 hours ago🚨Variety Stream 🎮 Push to 600 Followers 🚀 Chill Vibes 😎 Content Creator for @SelfMadeGGs & @SMKAcademy
17.5K1