- Describe the use and limitations of the functions getc and putc. 2. What is the significance of EOF? 3. When a program is terminated, all the files used by it are automatically closed. Why is it then necessary to close a file during execution of the program?
- Distinguish between the following functions:
(a) getc and getchar
(b) printf and fprintf
(c) feof and ferror
- How does an append mode differ from a write mode? 6. What are the common uses of rewind and f tell functions? 7. Explain the general format of f seek function?