File Management in C | C Language Tutorial (Hindi)

Опубликовано: 15 Март 2026
на канале: Gyan Dhara by Dr. Lalit (Voice of Wisdom)
226
8

This Lecture contains that: how to save data in files on hard disk or secondary memory which can be achieved only by file management. Operations of file management are:
• Naming of File
• Opening File
• Closing File
• Reading Data from File
• Writing Data into File
Predefined functions of file Management are:
 fopen() : Opening File
 fclose() : Closing File
 getc() / putc():Reading & Writing character from/into File
 getw() / putw():Reading & Writing integer from/into File
 fscanf() / fprintf(): Reading & Writing integer from/into File
 fseek(): Sets the cursor to desired location in the File
 ftell(): Gives the current location of cursor in the File
 rewind(): Sets the cursor to the beginning of the File
File Opening Modes:
w : Write only mode
r : Read only mode
a : Append mode (add at end)
Extensions of above modes are:
w+ : Write + read
r+ : Read + write
a+ : Append (r+w

to find more details click the link given below for Best Software Training Institute in Ghaziabad:
https://www.bestsoftwareinstitute.com
Related Videos:
• Visit the site for more study material http://www.bestsoftwareinstitute.com
• First program    • How to develop program in C Language?  
• Conditional Statements
o Part-1 : simple-if    • Conitional statement part-1  
o Part-2 : if-else-if    • conditional statement part-2 if-else  
o Part-3 : switch    • conditional statement part 3 (SWITCH) | C ...  
• Operators
o Bitwise operator    • Bitwise Operator  
o Relational Operators    • Relational operator and logical operator  
o Increment Operator    • Increment Decrement Operator  
o Conditional Operator    • Conditional or Ternary operator  
• Database with SQL introduction    • Introduction of Database & SQL  
• MySQL Practical part-1    • MySql Introduction part-1 Theory  
• MySQL Practical part-2    • MySQL practical part-2 | MySQL Tutorial (H...  
• Python Problem    • Python Problem from Sumita Arora  
• Note pad in JAVA Videos    • Calculator in JAVA  
• Foundation of Project Development in JAVA    • Foundation of Project Development in JAVA:...  
• Importance CLanguage Videos    • Importance of C Language  
• Strings in C Language    • Learn Strings in C Language  
• CCC Lectures
o Lecture -1    • NIELIT CCC Course Lecture1  
o Lecture -2    • NIELIT CCC Course Lecture Series: Lecture-2  
o Lecture -3    • CCC lecture 3  
o Lecture -4    • CCC lecture 4  
o CCC book Review    • CCC book Review  
• User defined functions    • User Defined Functions  
• Structure and Union    • Difference Between Structure and Union in ...  
• Pointers in C and C++    • Use of returning pointers by function in H...  
• Call by value Call by Reference    • Pointers in call by reference  
• Use of pointer with array    • Use of pointers in array  
• Arrays in C and C++    • Array (1D, 2D Arrays and Strings) using C+...  
• Republic day special    • Republic Day Special  
• K map sum of product    • K-map Product of Sums in Hindi  
• K map product of sum    • K-map Sum of Products in hindi  
• Pointers    • Part-16: Reference variable Vs Pointer var...  
• Future of electrical Branch    • Future of Electrical Engineering | इलेक्ट्...  
Visit our site for more information and Computer Science material: http://www.atsedu.blogspot.com
Visit our facebook for more study material:   / ats-govindpuram-156889381138312  
#bestcomputercenter #bestsoftwareinstitute #bestjavatraining