Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Last updated: Aug 7, 2022

File Handling

File handling refers to the method of storing data in the C program in the form of an output or input that might have been generated while running a C program in a data file, i.e., a binary file or a text file for future analysis and reference in that very program. File handling in C enables us to create, update, read, and delete the files stored on the local file system through our C program.
fprintf() and fscanf() in C EASY
Explore fprintf() and fscanf() functions in C: write and read formatted data to/from files efficiently. This guide covers syntax, usage, and examples for each function.
C fputc() and fgetc() EASY
In this article, we will learn about two C library functions fputc() and fgetc(), and what parameters they take as input.
C fputs() and fgets()
This article covers everything you need to know about fputs() and fgets() in C. fputs(), and fgets() are the most common function in C for file handling.
Author Shiva
0 upvotes
C fseek() function EASY
In this blog, we will learn about the fseek() function which is a standard inbuilt function of the C programming language. We will know about its construction working as well.
Rewind() Function in C EASY
This blog describes the rewind() function of the C programming language; how it can help developers to develop software and its applications.
C ftell() function EASY
This article discusses the ftell() function in the C programming language and how one can use the ftell() function in their file handling programs to tell the position of the file pointer.
fseek() vs rewind() in C
This article incorporates a detailed discussion on the main differences between fseek() vs rewind() in C language and also where to apply them in code.
fgets() and gets() in C EASY
In this article, we will learn about fgets() and gets() function and their parameters in C
fread C EASY
In this blog, we will discuss about fread function in C programming language. We will discuss why it is used with some examples.
fwrite() Function in C EASY
In this article, we will explore the fwrite function in C programming language and how it works, including its syntax, parameters, and return value.