Ticker

6/recent/ticker-posts

C Language (File Handling Introduction)

FILE HANDLING INTRODUCTION

Generally files are used to store different types of information and data.
In C programming language, files are used to permanently store program's data in two types of files. 





TEXT FILES 
These types of files are use to store "Stream oriented data"

Stream oriented data store exactly, as it appears on the screen 


BINARY FILES
These types of files are used to store "System oriented data" 

System oriented data files are more closely associated with the operating system and data store directly in the memory without converting in the text format.
Commonly file handling concept provides the following features in the C programming language. 

A. New file creation: This feature is used to create a new file.

B. Open file: This feature is used to open an already existing file.

C. Reading from file: This feature is used to read data from an already existing file.

D. Writing to a file: This option is used to write contents in an already existing file.

E. Searching from file: This option is used to search any info. from an already existing file.













Post a Comment

0 Comments