67 178
Assignments Done
99,3%
Successfully Done
In November 2018

Answer to Question #24738 in C++ for Rohan

Question #24738
Write a function to delete a node containing Book's information from a dynamically allocated stack of Books implemented with the help of the following structure.

struct BOOK{ int BNo; char BNAME[20]; BOOK*NEXT;};
Expert's answer
struct BOOK{ int BNo; char BNAME[20]; BOOK*NEXT;};

void deleteBook(BOOK &a){
//we delete next BOOK after BOOK a
a.NEXT = (a.NEXT)->NEXT;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions