#include<iostream> using namespace std; void push(); void pop(); void traverse(); struct node { int num; struct node *next; }*top=NULL; typedef struct node node; typedef struct node* nptr; void main() { char choice; while(1) { system("cls"); cout<<"-----STACK USING LINKED LIST-----\n\n"; cout<<" 1.PUSH\n"; cout<<" 2.POP\n"; cout<<" 3.TRAVERSE\n"; cout<<" 4.EXIT\n"; cout<<" Enter your choice: "; cin>>choice; switch(choice) { case '1': push(); break; case '2': pop(); break; case '3': traverse(); break; case '4': exit(0); default: cout...
hookup ur code with us