File Handling Important questions and Solutions
Jaya Ganeshya 1. A sequential data file “std.dat” contains Name, class, Roll No. and Address of some students. Write a program to read records and display only those students record whose name starts with alphabet “A” of “a”. 2. Create a sequential data file “std.dat” to store Name and Mark obtained in English, Math and Science subjects for a few students. 3. A sequential data file called “MARKS.DAT” contains Roll no. Name, English,Nepali and Maths fields. Write a program to display all the contains of the data file. 4. Write a program to create a sequential data file “Employee.Dat” to store employees’ Name, Address, Age, Gender and Salary. 5. A da...
Comments
Post a Comment