St. Joseph's College of Engineering St. Joseph's Institute of Technology
St. Joseph's College of Engineering St. Joseph's Institute of Technology
What do you mean by Command line arguments? (or) What does argv and argc indicate in
4. command- line argument? (APR/MAY 2018) (APRIL/MAY 2019)
10. Define How do you search data in a data file using random access method?
Write a program in C language to create a data file.
11.
12. Write a program to copy contents of input.txt file to output.txt file.
13. What is the use of fseek() function?
PART B
1. Insert, update, delete and append telephone details of an individual or a company into a
telephone directory using random access file.
Explain in detail various functions for sequential file manipulations and operations. Explain
2.
in detail various operations that can be done on the file giving suitable examples.
(APR/MAY 2019)
Explain in detail random access in files along with the functions used for the same in C. Give
3. suitable examples. (APR/MAY 2019)