×
WORK HARD IN SILENCE; LET SUCCESS MAKE THE NOISE
--Your friends at LectureNotes
Close

Data Structure and Algorithms

by Kajal SanklechaKajal Sanklecha
Type: NoteCourse: B.Tech Specialization: Computer Science EngineeringOffline Downloads: 20Views: 711Uploaded: 2 months ago

Share it with your friends

Suggested Materials

Leave your Comments

Contributors

Kajal Sanklecha
Kajal Sanklecha
Files in C Not for beginners Shared under Creative Commons License
1. What is a File? (non C introduction) 2. How to handle files in C
File ● A file ● Is Sequence of bytes ● Has certain length ● Is Stored in Hard disk ● Has a name ● Is stored at a particular “path” in the “namespace” – ● E.g. /home/student/Desktop/programs/something.c Has other properties like: permissions, owner, group, etc.
First let us understand the file system namespace

Lecture Notes