fork download
  1. typedef struct stack_node {
  2. int data;
  3. struct stack_node *next;
  4. }stack_node;
  5.  
  6. typedef struct _stack {
  7. stack_node *top;
  8. }Stack;
  9.  
  10. void stack_construction(Stack *stack);
  11. void stack_destroy(Stack *stack);
  12. int is_stack_empty(Stack *stack);
  13. void stack_pop(Stack *stack);
  14. void stack_push(Stack *stack, int data);
  15. void stack_full();
  16. void display_stack(Stack *stack);
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
stdout
Standard output is empty