ASSIGNMENT BINARY FILE
ASSIGNMENT BINARY FILE
Q1. A binary file “Book.dat” has structure [BookNo, Book_Name, Author, Price].
Write a user defined function CreateFile() to input data for a record and add to
Book.dat .
Q2. A binary file “Book.dat” has structure [BookNo, Book_Name, Author, Price].
Write a user defined function ReadFile() to Read data from Book.dat and display
records on to screen also count the total no of records present in it .