Assignment 4(File handling in C)

 

What is file opening mode.

Explain the file opening modes for text file.

Explain the use of fgets() and fputs() with suitable example.

Explain following functions with syntax and example. fgetc(), fputc(), fscanf (), fprintf ().

Give the use of rewind ( ) function.

Which function is used to move file pointer?

Define file. Explain any four file functions.

Write a C program to read a file and display alternate characters from a file.

Write two function write data into file?

Write two function read data from file?

Write  program to copy file another using command line argument.

What is purpose of fseek() &ftell()

what is advantages of File in C.

Comments

Popular posts from this blog

Slip 11: Write node js application that transfer a file as an attachment on web and enables browser to prompt the user to download file using express js.

Slip 7 Create a node js file named main.js for event-driven application. There should be a main loop that listens for events, and then triggers a callback function when one of those events is detected.

Slip 1(a) Write an Angular 13 application addition of two numbers using ng-init, ng-model & ng-bind. And also demonstrate ng-show, ng-disabled, ng-click directives on button component.