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
Post a Comment