Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //https://www.facebook.com/AminproPastebin
- // To Push
- while(isspace(value=getchar()));
- break;
- // To POP
- if(empty(head, tail))
- printf("Stack is empty");
- else
- Value = pop(head);
- // then if you want to print the popped
- printf("'%c' Popped\n", value);
- //Refer to previous paste for the function definitions. (https://pastebin.com/FQh6Ru5j)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement