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:01:50
SternAmerican
15 hours agoThe Nunn Report Election Integrity w/ Guest Steve Stern and Sam Anthony!
341 -
8:01
BlackDiamondGunsandGear
6 months agoNew Canik Mete MC9
619 -
1:00:02
PMG
16 hours agoJFK, War, & Health with Fox War Correspondent Hollie McKay
1921 -
2:37:51
Badlands Media
1 day agoDevolution Power Hour Ep. 338
110K41 -
2:55:33
FreshandFit
8 hours agoAfter Hours w/ Stirling Cooper & Girls
60.2K62 -
3:05:36
TimcastIRL
10 hours agoDHS Vows To HUNT DOWN Leftist Terrorists Amid SWATTINGS & Tesla TERROR w/Peter St Onge | Timcast IRL
244K181 -
9:34:23
Dr Disrespect
18 hours ago🔴LIVE - DR DISRESPECT - WARZONE - 10 WINS IN A ROW EVENT
199K22 -
43:23
Shaun Attwood
16 days agoSTEEPLES on Epstein Files Maxwell Meghan Markle Prince Harry... - AU 323 - Matthew Steeples
90.4K34 -
9:48:29
SwitzerlandPlayIT
16 hours ago🔴 LIVE - Fallout New Vegas much? lets see what we gonna encounter today.
57K1 -
2:13:54
Adam Carolla
20 hours agoRoger Stone on FBI Raid, Trae Crowder on Southern Life & Don Lemon recalls being sexually harassed
81.7K5