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
-
51:25
Donald Trump Jr.
2 hours agoAmerica First in Action, All the Latest News | TRIGGERED Ep.278
110K99 -
1:02:48
BonginoReport
4 hours agoChristianity Is Under Attack - Nightly Scroll w/ Hayley Caronia (Ep.144)
39.1K48 -
LIVE
JdaDelete
1 hour agoHollow Knight: Silksong - Steel Soul [Permadeath]
39 watching -
LIVE
FLRG
1 hour agoFLRG LIVE ROAD TO 2015 FOLLOWERS
67 watching -
1:05:10
The Nick DiPaolo Show Channel
5 hours agoKirk Assassination Theories Abound! | The Nick Di Paolo Show #1795
27.4K30 -
LIVE
Focus_Up
1 hour agoGrinding resurgence ranked!! Playing with Subscribers!! Lets have some fun!!!
12 watching -
LIVE
Chrono
1 hour agoSplat-Tasks 2 - Splatoon but with more Rules
23 watching -
41:09
Katie Miller Pod
17 hours ago $0.95 earnedEpisode 8 - Adena Friedman | The Katie Miller Podcast
16.8K1 -
6:18:46
GritsGG
7 hours agoDuos! Most Wins in WORLD! 3680+!
22.3K -
1:45:18
Kim Iversen
3 hours agoSnake Eyes to Charlie Kirk: Is Life Copying this Hollywood Script?
50.4K46