Science Teacher Interview Question:

Please explain why we use File Handling?

Submitted by: Muhammad

The input and output operation that we have performed so far were done through screen and keyboard only.After the termination of program all the entered data is lost because primary memory is volatile . if the data has to be used later ,then it becomes necessary to keep it in permanent storage device. so the c language provide the concept of file through which data can be stored on the disk or secondary storage device.The stored data can be read whenever required.

Types of File Handling in C:
The file handling in C can be categorized in two types-

High level (Standard files or stream oriented files)- High level file handling is managed by library function. High level file handling is commonly used because it is easier and hide most of the details from the programmer.
Low level (system oriented files)- low level files handling is managed by system call.Submitted by: Muhammad

SHARE

Submit Your Feedback:

Your Location Is:

×

Thank You For Your Feedback!

Your message has been sent successfully.

Disclaimer

Interview Questions Answers .ORG is responsive and optimized web portal for individuals to get preparation for their job interviews, learning and training. Content at Interview Questions Answers .ORG might be simplified to improve our users experience.
We constantly review our content to avoid errors and copyright violations, but we cannot warrant full correctness of all the content.
While using this site, you agree to have read and accepted our terms of use,
cookie and privacy policy.
Copyright 2007-2018 by Interview Questions Answers .ORG All Rights Reserved.