Question: Write a function named getAvailableBooks that accepts an array of LibraryBook object pointers and its size. It will go through the array and return the
Write a function named “getAvailableBooks” that accepts an array of LibraryBook object pointers and its size. It will go through the array and return the vector of pointers only to the LibraryBook objects that has the “Available” status.
Show how this function is being called and print out what is being returned.
Step by Step Solution
3.45 Rating (145 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
