[Solved]11 Declare Variable Named Pbook Pointer Dynamically Allocated Book Set Values Represent La Q37280134
11. Declare a variable named pbook that is a pointer to adynamically allocated book. Set its values to represent “The LastKingdom” by “Bernard Cornwell”, weight 12.6.
12. Declare an array named pbooks of 250 pointers to books. Makeposition 10 in the array point to the dynamically allocated bookcreated in question 11.
13. Declare a pointer to a pointer to a book and name itp_book_array. Make p_book_arraypoint to a dynamically allocatedarray of n books. Make position 20 in the array point to thedynamically allocated book created in question 11.
14. What would the effect on pbooks[20] be of doing thefollowing: delete p_book_array[20]; p_book_array[20] = nullptr;

Expert Answer
Answer to 11. Declare a variable named pbook that is a pointer to a dynamically allocated book. Set its values to represent “The… . . .
OR

