UNIT-6
FILE HANDLING
Q1- What is ment by opening a data file and closing a data
file?
Q2- Explain all the file mode
(a).r
(b). w
(c). a
(d). a+
(e). w+
(f). r+
Q3- Explain it
(a). fopen()
(b). fclose()
(c). fseek()
(d). fgetc()
(e). fputs()
(f). fgets().
(g). ftell()
(h) getc()
(i) putc().
Q4. Write a Program to copy a file into another but in reverse
order.
Q5. Write the basic steps of file handling?