Write the definition of a member function
PUBITO) in , to add a new book in a
dynamic stack of BOOKS considering the
following code is already included in the
program. All India 2015
struct BOOKS
char ISBNL 201, TITLE[80]
BOOKS *Link
class STACK
BOOKS Top
public
STACKO) (Top-NULL;
void PUSHO
void POPO):
STACK();
PLEASE ANSWER FAST
Do not answer if you don't know to get points
Its urgent
Answers
Answered by
0
Answer:
void STACK :: push()
{
BOOKS *temp;
temp=new BOOKS;
cout<<"Enter data:";
gets(temp->ISBN);
gets(temp->TITLE);
temp->Link;
Similar questions