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
-
1:42:04
RoxomTV
1 day agoBitcoin Airbnb, BlackRock Stacks, Trump Smashes Fed | Blockchain Report
9.93K2 -
1:27:18
Mike Rowe
2 days agoTheo Von Is Another Troubled White Boy | #449 | The Way I Heard It
100K34 -
3:50:41
FreshandFit
12 hours agoFresh&Fit Taking These Girls To Therapy
174K75 -
2:13:26
Badlands Media
14 hours agoDevolution Power Hour Ep. 390 - Political Warfare, Jimmy Kimmel & ANTIFA
101K31 -
2:43:56
TimcastIRL
9 hours agoJimmy Kimmel FIRED, ABC Pulls Show Over Charlie Kirk Assassination Comments | Timcast IRL
388K227 -
1:58:02
Barry Cunningham
10 hours agoJIMMY KIMMEL CANCELLED | OBAMA IS WHINING! | JD VANCE ON JESSE WATTERS!
116K133 -
2:34:46
TheSaltyCracker
10 hours agoWe Got Him Fired ReeEEStream 9-17-25
164K397 -
43:44
Man in America
12 hours agoAmericans Are About to Lose Everything—And They Don’t Even Know It
67.5K33 -
1:41:11
Adam Does Movies
2 days ago $4.50 earnedTalking Movies + Ask Me Anything - LIVE
49.7K2 -
3:40:08
I_Came_With_Fire_Podcast
18 hours agoNASA Blocks China, TPUSA BOOSTED, Chinese Spamoflauge, & Factional Division
47.5K7