{"id":14664,"date":"2024-02-06T17:00:02","date_gmt":"2024-02-06T11:30:02","guid":{"rendered":"https:\/\/btechgeeks.com\/?p=14664"},"modified":"2024-02-07T17:12:01","modified_gmt":"2024-02-07T11:42:01","slug":"c-programming-file-handling-input-output","status":"publish","type":"post","link":"https:\/\/btechgeeks.com\/c-programming-file-handling-input-output\/","title":{"rendered":"File Input Output in C Programming"},"content":{"rendered":"

File in C programming language, can be anything from a disk file to a device. C language provide support for opening a file, closing a file, reading data from a file and writing data to a file through a set of standard library functions.<\/p>\n

C file handling is designed to work with a number of devices and file formats like printer, screen, keyboard, disk file etc. C file system transforms different devices into a abstract logical device called stream. All streams behaves same irrespective of devices and files. It provides an abstract consistent interface for C program to interact by hiding the details of the device specific implementations. Disk file read function can be used to read data from keyboard as well.<\/p>\n

Points to Remember about Streams<\/strong><\/p>\n