Question: 1/ 23: delete (10 points) // This function is used to delete a book by ID. 1/ Parse the list and compare the book IDs

1/ 23: delete (10 points) // This function is used to delete a book by ID. 1/ Parse the list and compare the book IDs to check which one should be deleted. // Restore the array structure after removal of the book record. 1/ Return o if the specified ID was not found. Return 1 upon successful removal of a record. int delete(unsigned int bookId_input) { struct libraryRecord libraryTemp; // needed for swapping structs. Not absolutely necessary to use. // Enter code here return 0; // edit this line as needed }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
