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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Algorithms Questions!