#include using namespace std; int c = 0; struct node { char data; int st_time, lv_time; }*p = NULL, *r = NULL; struct stack { node *pt; stack *next; }*top = NULL, *q = NULL, *np= NULL; // Insert Node void push(node *ptr) { np = new stack; np->pt = ptr; np->next = NULL; if (top == NULL) { top = np; } else { np->next = top; top = np; } } node *pop() { if (top == NULL) { cout<<"underflown"; } else { q = top; top = top->next; return(q->pt); delete(q); } } void create(int a[], int b[][7], int i, int j) { c++; p = new node; cout<<"enter data for new noden"; cin>>p->data; p->st_time = c; cout<<"start time for "<data<<" is "<data<<" is "<>b[i][j]; } } create(a,b,0,0); return 0; }