The lab report discusses file handling in C programming through pointers and file operations. It covers introducing pointers and their advantages/disadvantages. It also covers file opening modes. The report includes programs to demonstrate pointers with examples, enter and display numbers using pointers, calculate sums using pointers, print text to a file, rename files, store and display user records in a file, and append new records to a file.
The lab report discusses file handling in C programming through pointers and file operations. It covers introducing pointers and their advantages/disadvantages. It also covers file opening modes. The report includes programs to demonstrate pointers with examples, enter and display numbers using pointers, calculate sums using pointers, print text to a file, rename files, store and display user records in a file, and append new records to a file.
The lab report discusses file handling in C programming through pointers and file operations. It covers introducing pointers and their advantages/disadvantages. It also covers file opening modes. The report includes programs to demonstrate pointers with examples, enter and display numbers using pointers, calculate sums using pointers, print text to a file, rename files, store and display user records in a file, and append new records to a file.
2. Introduction to file handling. (H) 3. Discuss about pointer along with its advantage and disadvantage(H) 4. List out all the mode operation of File (file opening mode) (H) 5. Write programs to (P/H) a. Demonstrate use of Pointer with example b. Enter 10 number and display it using pointer c. Enter 10 number and find the sum of numbers Using pointer d. Print text “Golden Gate College” in file using files handling approach. e. Rename file that already exist using file handling approach f. Store 5 record of user (rollno, name, marks) in a file and display all the stored records from the file. g. Append a new record of user in file. 6. Conclusion(H)