//This program main demonstrates the use of a stack // Sasha Vassar Week09 Lecture 16 #include #include "stack.h" int main(void) { //Creating our stack container, and storing the address in the //new_stack pointer variable. struct stack *new_stack = create_stack(); push_stack(new_stack, 11); push_stack(new_stack, 12); push_stack(new_stack, 13); push_stack(new_stack, 14); print_stack(new_stack); printf("Popping the top of the stack - %d\n", pop_stack(new_stack)); print_stack(new_stack); printf("Popping the top of the stack - %d\n", pop_stack(new_stack)); print_stack(new_stack); return 0; }