You are on page 1of 1

PRACTICE QUESTION BINARY FILE

1. Consider a binary “book.bin” in which record of book(book_no ,


bookname ,author_name ,price) is to be written , write functions to:

(i) To write record of record of 10 books in the binary file


(ii) To read and display only those detail of book as per the book
name entered by user.
(iii) To count and display no. of books having price more than
1000 but less than 2000.

You might also like