For Daily Free Study Material Join wiredfaculty Whatsapp Group | Download Android App | Ncert Book Download
Sponsor Area
Write the definition of a member function Pop() in C++, to delete a book from a dynamic stack of TEXTBOOKS considering the following code is already included in the program.
struct TEXTBOOKS { char ISBN[20]; char TITLE[80]; TEXTBOOKS *Link; }; class STACK { TEXTBOOKS *Top; public: STACK(){Top=NULL;} void Push(); void Pop(); ~STACK(); };