Question: We need to process some information regarding books such as code, title, author and publication year. Given the max number of books is 1000. a.
We need to process some information regarding books such as code, title, author and publication year. Given the max number of books is 1000.
a. Define in C the suitable data structure to store and process up to 1000 books with the given information above.
b. Write a function called InsertRecord that can insert a book record in your data structure.
c. Write a function called Search4Record that takes the book code and returns TRUE of that book is in the list of books or returns FALSE if it is not in your list.
d. Write a function called PrintRecord that can take a book and prints the details of a book.
e. Write a function called searchPrintRecord which takes a book code and prints the details of that book if it is in the list.
f. Write a function called DeleteRecord that can delete a book record from your data structure using the book code as input.
g. Rewrite the DeleteRecord function such that the user can perform undelete operation for a given record. Write the corresponding UndeleteRecord function.
with stdio.h and stdlib.h
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
