Hi ! Studying late night...
02:11 am

Sponsor Area

Sponsor Area

Question is

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();
};

Mock Test Series

Sponsor Area

Sponsor Area

NCERT Book Store

NCERT Sample Papers

Entrance Exams Preparation